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

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

Overview

Represents an error that occurs during authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

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_codeObject (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