Exception: Paramore::HashTooWild

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

Instance Method Summary collapse

Constructor Details

#initialize(hash) ⇒ HashTooWild

Returns a new instance of HashTooWild.



26
27
28
# File 'lib/paramore/errors.rb', line 26

def initialize(hash)
  super("A hash field with a type as key may not contain any more entries! (so, eg.: { String => field } is ok, but { String => field, user_id: field } is not)")
end