Entity / Expressions
When an expression fails or refuses
| Stage | Failure mode | Common examples |
|---|---|---|
| Type check | Compile error at call site | Mismatched field/value type or cross-Entity predicate |
| Definition | Throws naming field or path | Uncollated text comparison, Order on a path, >1,000 nodes |
| Server boot | Throws naming query | Reads unmapped column or unbound Entity |
| Evaluation | Refusal with missing item | Missing Expr.viewer context, NaN, or unsupported operator |
Browser Judge | Unknown with reason | Unheld row/field or server-only operator |
Three cases to keep in mind:
Unknownon the page is safe: It prevents optimistic logic from showing a row the server would exclude.ServerOnlyRulesdiagnostic: State invariants compile to SQLCHECKconstraints viacheckConstraints, whereas transition invariants (before+after) are enforced only by the server writer and logServerOnlyRulesonce at boot (seeexamples/writes).Query.unsupported: Inspects which operations a query requires that a given interpreter lacks, ensuring interpreters fail loudly instead of silently dropping clauses.