Function expry::expry_compile_error_format_html

source ·
pub fn expry_compile_error_format_html(
    e: &CompileError<'_>,
    extra_line_no: u32
) -> (u32, String)
Expand description

Formats errors for HTML from compilation with a nice layout including the source lines, so that users can easily understand what to do. Returns the line number of the main error, and a string that can be displayed to the user.