pub fn append_error<I, E>(input: I, kind: ErrorKind, other: E) -> E
where E: ParseError<I>,
Available on crate feature mtls only.
Expand description

Combines an existing error with a new one created from the input position and an ErrorKind. This is useful when backtracking through a parse tree, accumulating error context on the way