Type Alias ParseError
Source pub type ParseError<'a> = Err<Error<&'a str>>;
pub enum ParseError<'a> {
Incomplete(Needed),
Error(Error<&'a str>),
Failure(Error<&'a str>),
}
There was not enough data
The parser had an error (recoverable)
The parser had an unrecoverable error: we got to the right
branch and we know other branches won’t work, so backtrack
as fast as possible