Ash.Error.Invalid.NoSuchResource exception (ash v3.4.68)

View Source

Used when a resource or alias is provided that doesn't exist

Summary

Functions

exception(msg)

@spec exception(opts :: Keyword.t()) :: %Ash.Error.Invalid.NoSuchResource{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  message: term(),
  path: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ash.Error.Invalid.NoSuchResource without raising it.

Keys

  • :resource
  • :message