Mnemosyne.Errors.Framework.NotFoundError exception (mnemosyne v0.1.6)

Copy Markdown View Source

Raised when a referenced resource cannot be found.

Summary

Types

t()

@type t() :: %Mnemosyne.Errors.Framework.NotFoundError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  id: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Mnemosyne.Errors.Framework.NotFoundError{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  id: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Mnemosyne.Errors.Framework.NotFoundError without raising it.

Keys

  • :resource
  • :id