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