pub fn format_error(
    error: Error,
    source_id: &str,
    source: &str,
    color: bool
) -> (String, Option<SourceLocation>)