Function ittech::error::convert_error[][src]

pub fn convert_error(input: &[u8], err: VerboseError<&[u8]>) -> String

Transforms a VerboseError into a trace with input position information.

This function is modified from the original [nom::error::convert_error] to be used with binary input to a context. The trace is instead of lines shown on an xxd-style hexdump.