Exception: SecApi::NetworkError
- Inherits:
-
TransientError
- Object
- StandardError
- Error
- TransientError
- SecApi::NetworkError
- Defined in:
- lib/sec_api/errors/network_error.rb
Overview
Raised when network connectivity issues occur (timeouts, connection failures).
Why TransientError? Network issues are inherently temporary - a brief blip, overloaded router, or momentary DNS failure. The request is valid; the network path is temporarily broken. High probability of success on retry.
Wrapped Faraday exceptions: TimeoutError, ConnectionFailed, SSLError.
This is a transient error - the retry middleware will automatically retry the request. Network errors represent temporary connectivity issues that may resolve on subsequent attempts.
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Error
Method Summary
Methods inherited from Error
Constructor Details
This class inherits a constructor from SecApi::Error