AshAuthentication.Strategy.KubernetesServiceAccount.UnavailableError exception (AshAuthentication.Kubernetes v0.1.0)

Copy Markdown View Source

The token could not be verified — API server or JWKS unreachable, or this application's own token or RBAC refused. An outage, never a verdict on the caller's token: answer 503, not 401.

Summary

Types

t()

@type t() :: %AshAuthentication.Strategy.KubernetesServiceAccount.UnavailableError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) ::
  %AshAuthentication.Strategy.KubernetesServiceAccount.UnavailableError{
    __exception__: true,
    bread_crumbs: term(),
    class: term(),
    path: term(),
    reason: term(),
    splode: term(),
    stacktrace: term(),
    vars: term()
  }

Create an Elixir.AshAuthentication.Strategy.KubernetesServiceAccount.UnavailableError without raising it.

Keys

  • :reason