Exception: SecApi::ServerError
- Inherits:
-
TransientError
- Object
- StandardError
- Error
- TransientError
- SecApi::ServerError
- Defined in:
- lib/sec_api/errors/server_error.rb
Overview
Raised when sec-api.io returns a server error (5xx status code).
Why TransientError? Server errors (500, 502, 503, 504) typically indicate temporary infrastructure issues - service restart, brief overload, upstream timeout. The request is valid; the server is temporarily unhealthy. Worth retrying with exponential backoff.
This is a transient error - the retry middleware will automatically retry the request. Server errors typically indicate temporary issues with the sec-api.io infrastructure.
Instance Attribute Summary
Attributes inherited from Error
Method Summary
Methods inherited from Error
Constructor Details
This class inherits a constructor from SecApi::Error