Trait rio_api::parser::ParseError
source ·
[−]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
fn textual_position(&self) -> Option<LineBytePosition>
fn textual_position(&self) -> Option<LineBytePosition>
Returns the position of the error in the text, if known.