JsonApiClient v3.1.1 JsonApiClient.RequestError exception View Source

A Fatal Error during an API request

Fields

  • message - a short description of the error
  • original_error - The original error, if this error wraps one thrown by another library
  • status - The HTTP status code of the request, if any
  • attributes - Custom attributes.

Link to this section Summary

Link to this section Types

Link to this type t() View Source
t() :: %JsonApiClient.RequestError{
  __exception__: term(),
  attributes: map(),
  message: String.t() | nil,
  original_error: any(),
  status: integer() | nil
}