Sha256: 76393a38f5bc7c72139407453520b15ab2fcba225fc22421499fe59c2750fd90

Contents?: true

Size: 373 Bytes

Versions: 8

Compression:

Stored size: 373 Bytes

Contents

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

8 entries across 8 versions & 1 rubygems

Version Path
rails-auth-2.1.4 lib/rails/auth/exceptions.rb
rails-auth-2.1.3 lib/rails/auth/exceptions.rb
rails-auth-2.1.2 lib/rails/auth/exceptions.rb
rails-auth-2.1.1 lib/rails/auth/exceptions.rb
rails-auth-2.1.0 lib/rails/auth/exceptions.rb
rails-auth-2.0.3 lib/rails/auth/exceptions.rb
rails-auth-2.0.2 lib/rails/auth/exceptions.rb
rails-auth-2.0.1 lib/rails/auth/exceptions.rb