Class: ForestLiana::Ability::Exceptions::TriggerForbidden
- Inherits:
-
Errors::ExpectedError
- Object
- Errors::ExpectedError
- ForestLiana::Ability::Exceptions::TriggerForbidden
- Defined in:
- app/services/forest_liana/ability/exceptions/trigger_forbidden.rb
Instance Method Summary collapse
-
#initialize ⇒ TriggerForbidden
constructor
A new instance of TriggerForbidden.
Constructor Details
#initialize ⇒ TriggerForbidden
Returns a new instance of TriggerForbidden.
5 6 7 8 9 10 11 12 |
# File 'app/services/forest_liana/ability/exceptions/trigger_forbidden.rb', line 5 def initialize super( 403, :forbidden, 'You don\'t have the permission to trigger this action', 'CustomActionTriggerForbiddenError' ) end |