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