AshAge.Errors.QueryFailed exception (AshAge v1.0.1)

Copy Markdown View Source

Error for failed queries.

Summary

Functions

exception(args)

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

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

Keys

  • :query
  • :reason