Dowser. Client. HTTP. Error exception
(Dowser.Client v0.1.1)
View Source
HTTP transport error.
Wraps whatever the HTTP adapter surfaced — a bare reason (:timeout,
:econnrefused, a :failed_connect tuple) or a dependency exception
(Mint.TransportError, ...) — so callers never receive a dependency's own
exception type. The original term is kept in :reason for debugging.
Summary
Types
@type t() :: %Dowser.Client.HTTP.Error{ __exception__: true, adapter: module() | nil, attempts: pos_integer(), method: atom() | nil, reason: term(), url: String.t() | nil }