Vaartix.Error exception (vaartix v0.1.0)

Copy Markdown View Source

The API answered with an error, or the request could not be made. type is the API's error type (e.g. "validation_error"), or "network_error" with status: nil when no response was received.

Summary

Types

t()

@type t() :: %Vaartix.Error{
  __exception__: true,
  message: String.t(),
  status: pos_integer() | nil,
  type: String.t()
}