Assent.Strategy.OAuth2.UnsupportedTokenTypeError exception (Assent v0.4.0)

Copy Markdown View Source

An exception for when an OAuth2 token type is unsupported.

Fields

  • :type - the token type

Examples

iex> error = Assent.Strategy.OAuth2.UnsupportedTokenTypeError.exception(type: "mac")
iex> Exception.message(error)
"unsupported authorization token type, got: \"mac\""

Summary

Functions

Callback implementation for Exception.message/1.

Types

t()

@type t() :: %Assent.Strategy.OAuth2.UnsupportedTokenTypeError{
  __exception__: term(),
  type: term()
}

Functions

message(exception)

Callback implementation for Exception.message/1.