[][src]Module exile::error

The error module defines the error types for this library.

Structs

OtherError

Represents any error that is not related to the syntax of the XML file.

ParseError

Represents an error that occurred during parsing because the XML document is not well-formed.

ThrowSite

The Rust sourcecode file and line number which is the 'throw' site of an error.

XmlSite

The position in the XML file that the parser was at when the error was thrown. Ideally this will match the exact location where an XML file first violates XML syntax. These numbers are 1-based, i.e. line 1 is the first first line of the file, column 1 is the leftmost character of a line, and position 1 is the first character of the document.

Enums

Error

The error type for this library.

Type Definitions

Result

Alias for Result<T, Error>.