Ash.Error.Framework.MustBeAtomic exception (ash v3.4.68)

View Source

Used when an action that must be atomic cannot be done atomically

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ash.Error.Framework.MustBeAtomic{
  __exception__: true,
  action: term(),
  bread_crumbs: term(),
  class: term(),
  path: term(),
  reason: term(),
  resource: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.Ash.Error.Framework.MustBeAtomic without raising it.

Keys

  • :resource
  • :action
  • :reason