Exception: Lich::Common::Authentication::EAccess::AuthenticationError
- Inherits:
-
StandardError
- Object
- StandardError
- Lich::Common::Authentication::EAccess::AuthenticationError
- Defined in:
- documented/common/authentication/eaccess.rb
Overview
Authentication error raised when EAccess authentication fails
Instance Attribute Summary collapse
-
#error_code ⇒ Object
readonly
Returns the value of attribute error_code.
Instance Method Summary collapse
-
#initialize(error_code) ⇒ void
constructor
Initializes an authentication error with the server-returned error code.
Constructor Details
#initialize(error_code) ⇒ void
Initializes an authentication error with the server-returned error code.
The error code (e.g., "REJECT", "INVALID", "PASSWORD") distinguishes normal credential rejection from unrecognized responses that may indicate backend divergence or relay misconfiguration -- see Lich::Common::Authentication::EAccess.classify_a_response_failure.
28 29 30 31 |
# File 'documented/common/authentication/eaccess.rb', line 28 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.
18 19 20 |
# File 'documented/common/authentication/eaccess.rb', line 18 def error_code @error_code end |