ExAzureCore.Auth.Errors.TokenServerError exception (ex_azure_core v0.2.0)

Copy Markdown

Error for token server operations.

Used when token fetching fails or when an unknown token source type is specified.

Summary

Types

t()

@type t() :: %ExAzureCore.Auth.Errors.TokenServerError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  name: atom(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  type: :fetch_failed | :unknown_source_type,
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %ExAzureCore.Auth.Errors.TokenServerError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  name: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  type: term(),
  vars: term()
}

Create an Elixir.ExAzureCore.Auth.Errors.TokenServerError without raising it.

Keys

  • :type
  • :name
  • :reason