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

View Source

Used when an action name is provided that doesn't exist

Summary

Functions

exception(args)

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

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

Keys

  • :resource
  • :type