Exception: NestedStruct::Errors::InvalidCoercerExpression

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

Instance Method Summary collapse

Constructor Details

#initializeInvalidCoercerExpression

Returns a new instance of InvalidCoercerExpression.



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

def initialize
  super('Coercer expression should be a class or an array containing class.')
end