Enum token_parser::Error [−][src]
pub enum Error { NotEnoughElements(usize), TooManyElements(usize), ListNotAllowed, SymbolNotAllowed, StringParsing, InvalidElement, }
Expand description
The error type for token parsing.
Variants
NotEnoughElements(usize)
Expand description
The sublist contains less elements than expected by a specified amount.
TooManyElements(usize)
Expand description
The sublist contains more elements than expected by a specified amount.
Expand description
No list is allowed in this context.
Expand description
No symbol is allowed in this context.
Expand description
Error with string parsing.
Expand description
Some specific element is invalid.