Function extractor::get_error_text_with_error_code [−][src]
pub fn get_error_text_with_error_code(s: String) -> Vec<String>
Retuns a Vector of error sentences with error code
Arguments
s
- A error message as String
Example
assert_eq!(extractor::get_error_text_without_error_code(String::from("error[E0369]: binary operation + cannot be applied to type <T as std::ops::Mul>::Output")), vec!["binary operation cannot be applied to type"]);