frame_support
macro_rules! assert_err_with_weight { ($call:expr, $err:expr, $weight:expr $(,)? ) => { ... }; }
Assert an expression returns error with the given weight.