Exception: Lich::Common::Authentication::EAccess::AuthenticationError

Inherits:
StandardError
  • Object
show all
Defined in:
documented/common/authentication/eaccess.rb

Overview

Authentication error raised when EAccess authentication fails

Instance Attribute Summary collapse

Instance Method Summary collapse

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.

Parameters:

  • error_code (String) —

    server error code from an EAccess protocol response



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