Exception: Aha::Auth::NetworkError

Inherits:
Error
  • Object
show all
Defined in:
lib/aha/auth/errors.rb

Overview

Raised when the auth server cannot be reached

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message, original_error: nil) ⇒ NetworkError

Returns a new instance of NetworkError.



24
25
26
27
# File 'lib/aha/auth/errors.rb', line 24

def initialize(message, original_error: nil)
  super(message)
  @original_error = original_error
end

Instance Attribute Details

#original_errorObject (readonly)

Returns the value of attribute original_error.



22
23
24
# File 'lib/aha/auth/errors.rb', line 22

def original_error
  @original_error
end