Skip to main content

error_contains

Function error_contains 

Source
pub fn error_contains(e: &LocatedError, s: &str) -> bool
Expand description

Checks if an error message matches a substring.