Exception: Dry::Core::InvalidClassAttributeValue

Inherits:
StandardError
  • Object
show all
Defined in:
lib/dry/core/errors.rb

Instance Method Summary collapse

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