AshAge.Errors.UnsupportedExpression exception (AshAge v2.0.0)

Copy Markdown View Source

Error for an Ash.Expr node the Cypher translator cannot map to AGE.

Carries only structural information — a short, value-free label for the rejected node (:fragment, :now, {:ref, [:rel, :name]}, etc.) and a reason string. The expression's values are deliberately never captured, so neither the message nor any log line built from it can leak PII/secrets (AGENTS.md Critical Security Rule 5 — the same discipline as AshAge.Errors.UnsupportedFilter).

Summary

Functions

exception(args)

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

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

Keys

  • :node
  • :reason