Sha256: 49ae44ebe6a57ba53bebf5cad3ed9cd47ab119f4598eaa1a8f0c415f288494c7

Contents?: true

Size: 427 Bytes

Versions: 3

Compression:

Stored size: 427 Bytes

Contents

module ForestLiana
  module Ability
    module Exceptions
      class TriggerForbidden < ForestLiana::Errors::ExpectedError
        def initialize(backtrace = nil)
          super(
            403,
                :forbidden,
                'You don\'t have the permission to trigger this action',
                'CustomActionTriggerForbiddenError',
            backtrace,
          )
        end
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
forest_liana-9.7.0 app/services/forest_liana/ability/exceptions/trigger_forbidden.rb
forest_liana-9.6.4 app/services/forest_liana/ability/exceptions/trigger_forbidden.rb
forest_liana-9.6.3 app/services/forest_liana/ability/exceptions/trigger_forbidden.rb