Exception: NestedStruct::Errors::InvalidCoercerTarget

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

Instance Method Summary collapse

Constructor Details

#initializeInvalidCoercerTarget

Returns a new instance of InvalidCoercerTarget.



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

def initialize
  super('Coercer target\'s ancestors must include NestedStruct::Interface.')
end