Exception: ActiveSanction::HttpClient::Error
- Inherits:
-
FetchError
- Object
- StandardError
- SourceError
- FetchError
- ActiveSanction::HttpClient::Error
- Defined in:
- lib/active_sanction/http_client/errors.rb
Overview
Base for every failure this client raises, all of them cases where the server never produced a status to hand back. Statuses it did produce -- 403, 500, 304 -- come back as a Response instead; see Response.
A FetchError, so a caller backing off on "the bytes could not be
obtained" does not have to know that this library speaks net/http. The
subclasses below split it further only where the fix differs.
Direct Known Subclasses
ConnectionError, InvalidRedirect, RedirectLoop, ResponseError, TimeoutError, TooManyRedirects