Exception: Lore::Exceptions::Invalid_Types

Inherits:
Invalid_Field show all
Defined in:
lib/lore/exceptions/invalid_field.rb

Instance Attribute Summary

Attributes inherited from Invalid_Field

#invalid_params, #reason

Instance Method Summary collapse

Methods inherited from Invalid_Field

#inspect, #serialize

Constructor Details

#initialize(invalid_params) ⇒ Invalid_Types

Returns a new instance of Invalid_Types.



29
30
31
32
# File 'lib/lore/exceptions/invalid_field.rb', line 29

def initialize(invalid_params)
  super(invalid_params)
  @reason = :type
end