Module err

Source
Expand description

Error type from parsing a document, and the position where it occurred

Macros§

declare_into 🔒
Helper: declare an Into<> implementation to automatically convert a $source into an Error with kind $kind.

Structs§

Error
An error that occurred while parsing a directory object of some kind.

Enums§

BuildError
An error that occurs while trying to construct a network document.
NetdocErrorKind
A variety of parsing error.
NetdocErrorSource 🔒
The underlying source for an Error.
Pos
A position within a directory object. Used to tell where an error occurred.

Functions§

offset_in 🔒
If ptr is within s, return its byte offset.