Snap.HTTPError exception (Snap v0.13.0)

View Source

Represents an HTTP error returned while executing a query.

Summary

Types

t()

@type t() :: %Snap.HTTPError{
  __exception__: true,
  body: String.t(),
  headers: [{header_name :: String.t(), header_value :: String.t()}],
  status: pos_integer()
}