Exception: ActiveSanction::HttpClient::TimeoutError

Inherits:
Error show all
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

#source_id, #status

Instance Method Summary collapse

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.

Returns:

  • (Boolean)


33
# File 'lib/active_sanction/http_client/errors.rb', line 33

def retryable? = retryable_or(true)