Exception: Dry::Types::SchemaKeyError

Inherits:
KeyError
  • Object
show all
Defined in:
lib/dry/types/errors.rb

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ SchemaKeyError

Returns a new instance of SchemaKeyError.



14
15
16
# File 'lib/dry/types/errors.rb', line 14

def initialize(key)
  super(":#{key} is missing in Hash input")
end