View Source Snap.HTTPClient.Error exception (Snap v0.12.1)
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.HTTPClientbehaviour, such asMint.HTTPErrororMint.TransportError.