Class: Dry::Types::UnknownKeysError

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

Instance Method Summary collapse

Constructor Details

#initialize(*keys) ⇒ UnknownKeysError

Returns a new instance of UnknownKeysError.

Parameters:

  • keys (<String, Symbol>)


29
30
31
# File 'lib/dry/types/errors.rb', line 29

def initialize(*keys)
  super("unexpected keys #{keys.inspect} in Hash input")
end