Exception: Dry::Data::SchemaError
- Inherits:
-
TypeError
- Object
- TypeError
- Dry::Data::SchemaError
- Defined in:
- lib/dry/data.rb
Instance Method Summary collapse
-
#initialize(key, value) ⇒ SchemaError
constructor
A new instance of SchemaError.
Constructor Details
#initialize(key, value) ⇒ SchemaError
Returns a new instance of SchemaError.
24 25 26 |
# File 'lib/dry/data.rb', line 24 def initialize(key, value) super("#{value.inspect} (#{value.class}) has invalid type for :#{key}") end |