Expand description
Structured, positioned errors for question-spec authoring.
Every error carries a machine-readable SpecErrorKind, a document path
(ErrorPath, rendered JSON-pointer-style, e.g. /questions/tone/criteria/2), and
for text-syntax errors a 1-based line/column. Authors of question specs need no Rust,
capnp, or Arrow knowledge: the path points at the offending element of their YAML/JSON
document and the message says what rule was violated.
Structs§
- Error
Path - A position inside an authored document: a sequence of mapping keys and array indices.
- Spec
Error - A single positioned authoring error.
Enums§
- Spec
Error Kind - Machine-readable category of an authoring/validation failure.