pub trait ParseError: Error {
    fn textual_position(&self) -> Option<LineBytePosition>;
}
Expand description

Error trait that allows to get the textual position of the error

Required methods

Returns the position of the error in the text, if known.

Implementors