Class: ForestLiana::Ability::Exceptions::ActionConditionError
- Inherits:
-
Errors::ExpectedError
- Object
- Errors::ExpectedError
- ForestLiana::Ability::Exceptions::ActionConditionError
- Defined in:
- app/services/forest_liana/ability/exceptions/action_condition_error.rb
Instance Method Summary collapse
-
#initialize ⇒ ActionConditionError
constructor
A new instance of ActionConditionError.
Constructor Details
#initialize ⇒ ActionConditionError
Returns a new instance of ActionConditionError.
5 6 7 8 9 10 11 12 |
# File 'app/services/forest_liana/ability/exceptions/action_condition_error.rb', line 5 def initialize super( 409, :conflict, 'The conditions to trigger this action cannot be verified. Please contact an administrator.', 'InvalidActionConditionError' ) end |