Ash.Error.Framework.OptionAlreadySet exception (ash v3.34.5)

Copy Markdown View Source

Used when an option is given for a changeset already validated for an action with a different value

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %Ash.Error.Framework.OptionAlreadySet{
  __exception__: term(),
  action: term(),
  bread_crumbs: term(),
  class: term(),
  given: term(),
  option: term(),
  path: term(),
  resource: term(),
  set: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

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

Keys

  • :resource
  • :action
  • :option
  • :given
  • :set