Exception: Dry::Data::SchemaKeyError

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

Instance Method Summary collapse

Constructor Details

#initialize(key) ⇒ SchemaKeyError

Returns a new instance of SchemaKeyError.



30
31
32
# File 'lib/dry/data.rb', line 30

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