Sha256: 9aad3e63e0e95b0ed70d6c05f6f48d211b9a0049571d761e6c4a2494a09ecfb4

Contents?: true

Size: 404 Bytes

Versions: 6

Compression:

Stored size: 404 Bytes

Contents

# frozen_string_literal: true

module Rails
  module Auth
    # Base class of all Rails::Auth errors
    Error = Class.new(StandardError)

    # Unauthorized!
    NotAuthorizedError = Class.new(Error)

    # Error parsing e.g. an ACL
    ParseError = Class.new(Error)

    # Internal errors involving authorizing things that are already authorized
    AlreadyAuthorizedError = Class.new(Error)
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
rails-auth-3.2.0 lib/rails/auth/exceptions.rb
rails-auth-3.1.0 lib/rails/auth/exceptions.rb
rails-auth-3.0.0 lib/rails/auth/exceptions.rb
rails-auth-2.2.2 lib/rails/auth/exceptions.rb
rails-auth-2.2.1 lib/rails/auth/exceptions.rb
rails-auth-2.2.0 lib/rails/auth/exceptions.rb