Exception: Lore::Exception::Invalid_Types

Inherits:
Invalid_Parameters show all
Defined in:
lib/lore/exception/invalid_parameter.rb

Instance Attribute Summary

Attributes inherited from Invalid_Parameters

#invalid_params, #reason

Instance Method Summary collapse

Methods inherited from Invalid_Parameters

#serialize

Constructor Details

#initialize(invalid_params) ⇒ Invalid_Types

Returns a new instance of Invalid_Types.



26
27
28
29
# File 'lib/lore/exception/invalid_parameter.rb', line 26

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