Exception: Dry::Effects::Errors::MissingStateError Private
- Inherits:
-
UnhandledEffectError
- Object
- RuntimeError
- UnhandledEffectError
- Dry::Effects::Errors::MissingStateError
- Defined in:
- lib/dry/effects/errors.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
No state handler
Instance Attribute Summary
Attributes inherited from UnhandledEffectError
Instance Method Summary collapse
-
#initialize(effect) ⇒ MissingStateError
constructor
private
A new instance of MissingStateError.
Constructor Details
#initialize(effect) ⇒ MissingStateError
This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.
Returns a new instance of MissingStateError.
33 34 35 36 37 38 |
# File 'lib/dry/effects/errors.rb', line 33 def initialize(effect) = "Value of +#{effect.scope}+ is not set, " \ "you need to provide value with an effect handler" super(effect, ) end |