pub fn build_error_code_map(output_path: &str)