Struct parser_combinators::ParseError [] [src]

pub struct ParseError<P: Positioner> {
    pub position: P::Position,
    pub errors: Vec<Error<P>>,
}

Struct which hold information about an error that occured at a specific position. Can hold multiple instances of Error if more that one error occured at the position.

Fields

The position where the error occured

A vector containing specific information on what errors occured at position

Methods

impl<P: Positioner> ParseError<P>
[src]

Trait Implementations

impl<P: Debug + Positioner> Debug for ParseError<P> where
    P::Position: Debug
[src]

Formats the value using the given formatter.

impl<P: PartialEq + Positioner> PartialEq for ParseError<P> where
    P::Position: PartialEq
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<P> StdError for ParseError<P> where
    P: Positioner + Display + Debug + Any,
    P::Position: Display + Debug + Any
[src]

A short description of the error. Read more

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

impl<P: Positioner + Display> Display for ParseError<P> where
    P::Position: Display
[src]

Formats the value using the given formatter. Read more