Error reference
Every Greffon diagnostic has a stable code. Codes are append-only: they are never renumbered or reused, and each keeps this anchor (#R1101) so build errors, editor squiggles, and lint output can link straight here.
Capture — the expression subset
R1100
error — Unsupported syntax in an expression lambda.
R1101
error — Block-bodied arrow is not allowed.
Use a single expression; extract statements above the query.
R1102
error — Assignment and update operators are not allowed.
R1103
error — Loose equality (== / !=) is not allowed.
Use === / !== — loose equality has no sane cross-provider semantics.
R1104
error — this is not allowed in an expression lambda.
R1105
error — new is not allowed in an expression lambda.
R1106
error — await / yield are not allowed.
R1107
error — Only arrow functions are allowed as nested lambdas.
R1108
error — Tagged templates are not allowed.
R1109
error — Regex literals are not allowed inside the body.
Hoist the regex to a
constabove the query and capture it.
R1110
error — Comma / sequence expressions are not allowed.
R1111
error — Rest and array-destructured parameters are not allowed (v1).
R1112
error — Default parameter values are not allowed (v1).
Tree format
R1901
error — Bad or newer serialized tree format.
Providers & query plans
R2001
error — Untranslatable call for this provider.
R2002
error — Dynamic index or unresolvable column path.
R2003
error — Opaque function passed to a query method.
Write the lambda inline at the call site, or wrap it with expr().
R2004
warn — Opaque function accepted by the in-memory reference.
R2005
error — Param-dependent call to a captured function.
R2006
error — Ambiguous call — declare the column type in schema meta.
R2007
error — Unknown navigation for include().
Declare the navigation in the relations map passed to createContext(provider, { relations }).
R2008
error — Invalid include()/thenInclude() usage.
A navigation selector is a single property access (
u => u.orders); thenInclude() must follow include().
R2009
error — Computed member cycle detected.
A computed member's definition resolves back to itself; break the loop.
R2010
error — Computed method called with the wrong number of arguments.
Pass exactly the arguments the computed method's definition declares.
Runtime fallback
R3001
warn — Runtime fallback active (no build plugin ran).
R3002
error — Closure capture cannot be read by the runtime fallback.
R3003
error — Runtime fallback refused in a production build.
Build plugin & config
R4001
warn — Traced context import could not be resolved.
Wrap the lambda with expr(), or annotate the import with /* @greffon-context */.
R4002
info — Double transform detected; skipped.