Exception: Lore::Exceptions::Unmet_Constraints
- Inherits:
-
Invalid_Field
- Object
- Exception
- Invalid_Field
- Lore::Exceptions::Unmet_Constraints
- Defined in:
- lib/lore/exceptions/invalid_field.rb
Instance Attribute Summary
Attributes inherited from Invalid_Field
Instance Method Summary collapse
-
#initialize(invalid_params) ⇒ Unmet_Constraints
constructor
A new instance of Unmet_Constraints.
Methods inherited from Invalid_Field
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 |