Ankusa.SDK.ClaimRejectedError exception (ankusa_sdk v0.6.0)

Copy Markdown View Source

The gateway rejected the request (400, 403 — any 4xx but 404, 408 and 429).

:status is the HTTP status; :body is the decoded body when it was JSON, else the raw text ("" for an empty body).

Summary

Types

t()

@type t() :: %Ankusa.SDK.ClaimRejectedError{
  __exception__: term(),
  body: term(),
  message: term(),
  retryable: term(),
  status: non_neg_integer()
}