Mercury.AuthenticationError exception (mercury_client v1.0.0)

Copy Markdown View Source

Raised for HTTP 401 Unauthorized responses — the API key is missing or invalid.

Summary

Types

t()

@type t() :: %Mercury.AuthenticationError{
  __exception__: true,
  body: map() | nil,
  code: atom(),
  message: String.t(),
  request_id: String.t() | nil,
  status: pos_integer()
}