class Dry::Effects::Errors::UnhandledEffectError

No handler in the stack

@api private

Attributes

effect[R]

Public Class Methods

new(effect, message = Undefined) click to toggle source
Calls superclass method
# File lib/dry/effects/errors.rb, line 17
def initialize(effect, message = Undefined)
  @effect = effect

  super(
    Undefined.default(message) {
      "Effect #{effect.inspect} not handled. "\
      "Effects must be wrapped with corresponding handlers"
    }
  )
end