Kinde.ObtainingTokenError exception (kinde v2.1.0)

Copy Markdown View Source

Returned when the /oauth2/token request fails.

Contains the HTTP status code and the response body (either a parsed map with "error" / "error_description" keys, or a raw binary).

Summary

Types

t()

@type t() :: %Kinde.ObtainingTokenError{
  __exception__: true,
  body: map() | binary(),
  status: Mint.Types.status()
}