Sha256: b8c64b7f448c0d1470135a0070f37bcc46706cd5686c5c9aeed7dcf1c4e16bc7

Contents?: true

Size: 387 Bytes

Versions: 3

Compression:

Stored size: 387 Bytes

Contents

module ForestLiana
  module Ability
    module Exceptions
      class AccessDenied < ForestLiana::Errors::ExpectedError
        def initialize (backtrace = nil)
          super(
            403,
            :forbidden,
            'You don\'t have permission to access this resource',
            'AccessDenied',
            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/access_denied.rb
forest_liana-9.6.4 app/services/forest_liana/ability/exceptions/access_denied.rb
forest_liana-9.6.3 app/services/forest_liana/ability/exceptions/access_denied.rb