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)
The sublist contains less elements than expected by a specified amount.
TooManyElements(usize)
The sublist contains more elements than expected by a specified amount.
No list is allowed in this context.
No symbol is allowed in this context.
Error with string parsing.
Some specific element is invalid.