ExAzureCore.Credentials.Errors.CredentialError exception (ex_azure_core v0.3.0)

Copy Markdown

Error for credential validation failures.

Used when credential values are invalid, empty, or of wrong type.

Summary

Types

t()

@type t() :: %ExAzureCore.Credentials.Errors.CredentialError{
  __exception__: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  splode: term(),
  stacktrace: term(),
  type: :invalid_key | :invalid_signature | :invalid_named_key,
  vars: term()
}

Functions

exception(args)

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

Create an Elixir.ExAzureCore.Credentials.Errors.CredentialError without raising it.

Keys

  • :type