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 AuthenticationError with the given error code.

Parameters:

  • error_code (String)

    the error code returned by the EAccess server



23
24
25
26
# File 'documented/common/authentication/eaccess.rb', line 23

def initialize(error_code)
  @error_code = error_code
  super("Error(#{error_code})")
end

Instance Attribute Details

#error_codeObject (readonly)

Returns the value of attribute error_code.



17
18
19
# File 'documented/common/authentication/eaccess.rb', line 17

def error_code
  @error_code
end