AshArcadic.Errors.QueryFailed exception (AshArcadic v0.1.0)

Copy Markdown View Source

Error for failed queries/reads/destroys. Carries only query label + structural reason.

Summary

Functions

exception(args)

@spec exception(opts :: Keyword.t()) :: %AshArcadic.Errors.QueryFailed{
  __exception__: true,
  bread_crumbs: term(),
  class: term(),
  path: term(),
  query: term(),
  reason: term(),
  splode: term(),
  stacktrace: term(),
  vars: term()
}

Create an Elixir.AshArcadic.Errors.QueryFailed without raising it.

Keys

  • :query
  • :reason