Macro frame_support::assert_err [−][src]
macro_rules! assert_err { ( $x:expr , $y:expr $(,)? ) => { ... }; }
Expand description
Assert an expression returns an error specified.
Used as assert_err!(expression_to_assert, expected_error_expression)