Skip to main content

Module err

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.