AshVault.Errors.KeyNotFound exception (AshVault v0.2.0)

Copy Markdown View Source

Raised when the key provider has no key for the requested scope and version, and no tombstone recording that it was destroyed.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshVault.Errors.KeyNotFound{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  key_version: term(),
  path: term(),
  scope: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.AshVault.Errors.KeyNotFound without raising it.

Keys

  • :scope
  • :key_version