Skip to main content

Module error

Module error 

Source
Expand description

What went wrong, where, and under which element.

An error carries a stable code, an offset and a path of element indices, and never bytes from the document: these values travel into diagnostics that leave the device when somebody sends feedback.

Structs§

Error
A parse that stopped, and enough to say where without quoting the input.
Path
Where in the structure an error was found: the index of each element entered, outermost first.

Enums§

ErrorCode
Why a parse stopped.
Limit
Which budget ran out.

Type Aliases§

Result
The result of reading one thing.