Exception: Lich::Common::Authentication::EAccess::AuthenticationError
- Inherits:
-
StandardError
- Object
- StandardError
- Lich::Common::Authentication::EAccess::AuthenticationError
- Defined in:
- documented/common/authentication/eaccess.rb
Overview
Represents an error that occurs during authentication.
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code) ⇒ AuthenticationError
constructor
A new instance of AuthenticationError.
Constructor Details
#initialize(error_code) ⇒ AuthenticationError
Returns a new instance of AuthenticationError.
16 17 18 19 |
# File 'documented/common/authentication/eaccess.rb', line 16 def initialize(error_code) @error_code = error_code super("Error(#{error_code})") end |
Instance Attribute Details
#error_code ⇒ Object (readonly)
Returns the value of attribute error_code.
14 15 16 |
# File 'documented/common/authentication/eaccess.rb', line 14 def error_code @error_code end |