View Source Snap.HTTPError exception (Snap v0.11.2)

Represents an HTTP error returned while executing a query.

Summary

Types

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