Function convert_error

Source
pub fn convert_error<I: Deref<Target = str>>(
    input: I,
    e: VerboseError<I>,
) -> String
Expand description

Transforms a VerboseError into a trace with input position information

The errors contain references to input data that must come from input, because nom calculates byte offsets between them