macro_rules! assert_contains_err {
    ($core:expr, $o:expr, $p:pat) => { ... };
}
Expand description

Assert that some object has a validation error which matches a specific pattern. This is preferred to matching on Validate::validate_and_return_first_error, since usually we don’t care about the order.