Exception: Dry::Effects::Errors::InvalidValueError Private
- Inherits:
-
ArgumentError
- Object
- ArgumentError
- Dry::Effects::Errors::InvalidValueError
- Includes:
- Error
- 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.
State value has invalid type
Instance Method Summary collapse
-
#initialize(value, scope) ⇒ InvalidValueError
constructor
private
A new instance of InvalidValueError.
Constructor Details
#initialize(value, scope) ⇒ InvalidValueError
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 InvalidValueError.
81 82 83 |
# File 'lib/dry/effects/errors.rb', line 81 def initialize(value, scope) super("#{value.inspect} is invalid and cannot be assigned to #{scope}") end |