Exception: Dry::Core::InvalidClassAttributeValueError
- Inherits:
-
StandardError
- Object
- StandardError
- Dry::Core::InvalidClassAttributeValueError
- Defined in:
- lib/dry/core/errors.rb
Instance Method Summary collapse
-
#initialize(name, value) ⇒ InvalidClassAttributeValueError
constructor
A new instance of InvalidClassAttributeValueError.
Constructor Details
#initialize(name, value) ⇒ InvalidClassAttributeValueError
Returns a new instance of InvalidClassAttributeValueError.
6 7 8 9 10 |
# File 'lib/dry/core/errors.rb', line 6 def initialize(name, value) super( "Value #{value.inspect} is invalid for class attribute #{name.inspect}" ) end |