Exception: ActiveSanction::HttpClient::TimeoutError
- Inherits:
-
Error
- Object
- StandardError
- SourceError
- FetchError
- Error
- ActiveSanction::HttpClient::TimeoutError
- Extended by:
- T::Sig
- Defined in:
- lib/active_sanction/http_client/errors.rb
Overview
The connection or a read exceeded its timeout, and retries did not save it. Kept distinct from ConnectionError because it is the failure that usually means "the publisher is slow today", not "the URL is wrong".
Instance Attribute Summary
Attributes included from Error
Instance Method Summary collapse
-
#retryable? ⇒ Boolean
No status to reason from, and the answer is still yes: a government file server that timed out this afternoon serves the same file tomorrow morning.
Methods included from Error
#in_source, #initialize, #to_h
Instance Method Details
#retryable? ⇒ Boolean
No status to reason from, and the answer is still yes: a government file server that timed out this afternoon serves the same file tomorrow morning.
33 |
# File 'lib/active_sanction/http_client/errors.rb', line 33 def retryable? = retryable_or(true) |