Class: ForestLiana::Ability::Exceptions::ActionConditionError

Inherits:
Errors::ExpectedError
  • Object
show all
Defined in:
app/services/forest_liana/ability/exceptions/action_condition_error.rb

Instance Method Summary collapse

Constructor Details

#initializeActionConditionError

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