Exception: MisarReach::NetworkError
- Defined in:
- lib/misar_reach/errors.rb
Overview
Connectivity failure — no HTTP response received.
Instance Attribute Summary
Attributes inherited from ApiError
#body, #code, #retry_after, #status
Instance Method Summary collapse
-
#initialize(message, cause = nil) ⇒ NetworkError
constructor
A new instance of NetworkError.
Constructor Details
#initialize(message, cause = nil) ⇒ NetworkError
Returns a new instance of NetworkError.
83 84 85 86 |
# File 'lib/misar_reach/errors.rb', line 83 def initialize(, cause = nil) super(0, , code: "network_error") @cause = cause end |