Ash.Error.Query.InvalidQuery exception (ash v3.4.68)

View Source

A generic error that can be used to add an error to a query for a specific field

Summary

Functions

exception(msg)

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

Create an Elixir.Ash.Error.Query.InvalidQuery without raising it.

Keys

  • :field
  • :message