Jev.Error exception (Jev v0.2.3)

Copy Markdown View Source

A non-2xx response from a /v1/systemone endpoint.

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

Summary

Types

t()

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