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

Summary

Types

@type t() :: %Snap.HTTPClient.Error{
  __exception__: true,
  origin: any(),
  reason: atom()
}

Functions