Snap.HTTPClient.Error exception (Snap v0.13.0)

View Source

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

t()

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