Exception: Risenexa::Tracking::ConnectionError
- Defined in:
- lib/risenexa/tracking/errors.rb
Overview
Raised when all retry attempts are exhausted due to transport errors.
Instance Attribute Summary collapse
-
#cause ⇒ Exception
readonly
The underlying transport exception.
Instance Method Summary collapse
-
#initialize(message = "Connection error", cause: nil) ⇒ ConnectionError
constructor
A new instance of ConnectionError.
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( = "Connection error", cause: nil) @cause = cause super() end |
Instance Attribute Details
#cause ⇒ Exception (readonly)
Returns the underlying transport exception.
57 58 59 |
# File 'lib/risenexa/tracking/errors.rb', line 57 def cause @cause end |