Exception: NestedStruct::Errors::InvalidCoercerExpression
- Inherits:
-
StandardError
- Object
- StandardError
- NestedStruct::Errors::InvalidCoercerExpression
- Defined in:
- lib/nested_struct/errors/invalid_coercer_expression.rb
Instance Method Summary collapse
-
#initialize ⇒ InvalidCoercerExpression
constructor
A new instance of InvalidCoercerExpression.
Constructor Details
#initialize ⇒ InvalidCoercerExpression
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 |