[][src]Function nom::error::append_error

pub fn append_error<I, E: ParseError<I>>(
    input: I,
    kind: ErrorKind,
    other: E
) -> E

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