View Source Snap.HTTPClient.Error exception (Snap v0.7.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

Struct Fields

Link to this section Summary

Link to this section Types

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

Link to this section Functions