Struct ukhasnet_parser::ParserError [] [src]

pub struct ParserError {
    pub position: usize,
    pub expected: Vec<String>,
}

Contains the position in the input at which a parsing error occurred, and a Vec of token names we expected to see instead.

Fields

Methods

impl ParserError
[src]

Extract error information from a parser.

Trait Implementations

impl Debug for ParserError
[src]

Formats the value using the given formatter.

impl Display for ParserError
[src]

Formats the value using the given formatter. Read more

impl Error for ParserError
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more