Exception: Dry::Core::InvalidClassAttributeValueError

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

Instance Method Summary collapse

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