script::python::error

Function pretty_print_error_in_src

source
pub fn pretty_print_error_in_src(
    script: &str,
    err: &Error,
    ln_offset: usize,
    filename: &str,
) -> String
Expand description

pretty print Error in given script, basically print a arrow which point to where error occurs(if possible to get a location)