Jev.Error exception (Jev v0.1.0)

Copy Markdown View Source

A non-2xx response from the TypeSafe API.

status is the HTTP status, body the decoded JSON body (or raw text), and request_id the value of the x-typesafe-request-id header when present.

Summary

Types

t()

@type t() :: %Jev.Error{
  __exception__: term(),
  body: term(),
  request_id: String.t(),
  status: pos_integer()
}