[][src]Macro frame_support::assert_err

macro_rules! assert_err {
    ( $x:expr , $y:expr $(,)? ) => { ... };
}

Assert an expression returns an error specified.

Used as assert_err!(expression_to_assert, expected_error_expression)