SugarError
Defined in: packages/core/src/model/sugar.ts:81
A structured, path-anchored input error. Returned — never thrown — so the
parser seam (U2) can convert it to a ParseError on its existing channel.
Properties
Section titled “Properties”| Property | Modifier | Type | Description | Defined in |
|---|---|---|---|---|
message | readonly | string | Author-facing description of what is wrong. | packages/core/src/model/sugar.ts:83 |
path | readonly | string | A fragment locating the offending value relative to the sugar key (e.g. route.coordinates, locations.1.markerColor). The parser prefixes it with the source’s own path when re-anchoring. | packages/core/src/model/sugar.ts:82 |