Exception: Risenexa::Tracking::ConnectionError

Inherits:
Error
  • Object
show all
Defined in:
lib/risenexa/tracking/errors.rb

Overview

Raised when all retry attempts are exhausted due to transport errors.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(message = "Connection error", cause: nil) ⇒ ConnectionError

Returns a new instance of ConnectionError.



59
60
61
62
# File 'lib/risenexa/tracking/errors.rb', line 59

def initialize(message = "Connection error", cause: nil)
  @cause = cause
  super(message)
end

Instance Attribute Details

#cause ⇒ Exception (readonly)

Returns the underlying transport exception.

Returns:

  • (Exception) —

    the underlying transport exception



57
58
59
# File 'lib/risenexa/tracking/errors.rb', line 57

def cause
  @cause
end