Enum commands::parser::ParseError [] [src]

pub enum ParseError<'text> {
    NoMatches(Token<'text>, Vec<Rc<Node>>),
    AmbiguousMatch(Token<'text>, Vec<Rc<Node>>),
}

Errors that calling parse on the Parser can raise.

Variants

There were no matches for the token.

There was more than 1 possible match for the token.

Trait Implementations

impl<'text> Clone for ParseError<'text>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'text> Debug for ParseError<'text>
[src]

Formats the value using the given formatter.

impl<'text> Error for ParseError<'text>
[src]

A short description of the error. Read more

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

impl<'text> Display for ParseError<'text>
[src]

Formats the value using the given formatter. Read more