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

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