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

View Source

Used when a callback returns an invalid type

Summary

Functions

exception(msg)

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

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

Keys

  • :message
  • :type
  • :expectation