Error Handling in Definitions
Errors that arise from header definitions and references.
Condition
Error code
Cause
Undefined schema reference
~ $schema: { name: string, home: $address }
---
~ John, { Main St, NYC } # ✗ schema-not-defined — $address is never definedUndefined variable reference
~ $schema: { name: string, isActive: bool }
---
~ John, @active # ✗ variable-not-defined — @active is never definedReference order
See Also
Last updated
Was this helpful?
