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

#initialize(backtrace = nil) ⇒ ActionConditionError

Returns a new instance of ActionConditionError.



5
6
7
8
9
10
11
12
13
# File 'app/services/forest_liana/ability/exceptions/action_condition_error.rb', line 5

def initialize (backtrace = nil)
  super(
    409,
        :conflict,
        'The conditions to trigger this action cannot be verified. Please contact an administrator.',
        'InvalidActionConditionError',
    backtrace
  )
end