View Source Snap.HTTPClient.Error exception (Snap v0.9.0)
Represents an Error returned by the HTTPClient.
Usually this wraps an error coming from the adapter that implements the Snap.HTTPClient
behaviour,
such as Mint.HTTPError
.
Struct Fields
:reason
- the error reason represented by an atom.:origin
- the origin of the error. Contains the original error coming from the adapter of theSnap.HTTPClient
behaviour, such asMint.HTTPError
orMint.TransportError
.