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
NoMatches(Token<'text>, Vec<Rc<Node>>)
There were no matches for the token.
AmbiguousMatch(Token<'text>, Vec<Rc<Node>>)
There was more than 1 possible match for the token.
Trait Implementations
impl<'text> Clone for ParseError<'text>
[src]
fn clone(&self) -> ParseError<'text>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl<'text> Debug for ParseError<'text>
[src]
impl<'text> Error for ParseError<'text>
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more