Function koto_parser::format_error_with_excerpt [−][src]
pub fn format_error_with_excerpt(
message: Option<&str>,
source_path: &Option<PathBuf>,
source: &str,
start_pos: Position,
end_pos: Position
) -> String
Expand description
Produces a formatted error string with a corresponding source excerpt