Exception: Lore::Exceptions::Unmet_Constraints

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) ⇒ Unmet_Constraints

Returns a new instance of Unmet_Constraints.



36
37
38
39
# File 'lib/lore/exceptions/invalid_field.rb', line 36

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