Exception: NestedStruct::Errors::InvalidCoercerValue

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

Instance Method Summary collapse

Constructor Details

#initializeInvalidCoercerValue

Returns a new instance of InvalidCoercerValue.



4
5
6
# File 'lib/nested_struct/errors/invalid_coercer_value.rb', line 4

def initialize
  super('Coercer value must be an array for multiple coercion or a hash for single one.')
end