Represents transport errors returned by Finch.
:phase is :connect when an HTTP/1 connection failed to open (DNS,
TCP, or TLS), so no part of the request was sent and it is safe to retry
for any method. It is nil otherwise, including a timeout or a closed
socket after the request was sent.
Summary
Types
@type reason() :: Mint.TransportError.reason()
@type t() :: %Finch.TransportError{ __exception__: term(), phase: :connect | nil, reason: reason(), source: Mint.TransportError.t() | nil }