Sha256: bb29c86e6c55cc4e2903929254ea5d44c72ed33766aa66dd2877d4a6b08e13e4

Contents?: true

Size: 464 Bytes

Versions: 3

Compression:

Stored size: 464 Bytes

Contents

module ForestLiana
  module Ability
    module Exceptions
      class RequireApproval < ForestLiana::Errors::ExpectedError
        attr_reader :data
        def initialize(data, backtrace = nil)
          @data = data
          super(
            403,
                :forbidden,
                'This action requires to be approved.',
                'CustomActionRequiresApprovalError',
            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/require_approval.rb
forest_liana-9.6.4 app/services/forest_liana/ability/exceptions/require_approval.rb
forest_liana-9.6.3 app/services/forest_liana/ability/exceptions/require_approval.rb