Macro paralegal_policy::assert_error
source · macro_rules! assert_error { ($ctx:expr, $cond: expr $(,)?) => { ... }; ($ctx:expr, $cond: expr, $msg:expr $(,)?) => { ... }; ($ctx:expr, $cond: expr, $msg:expr, $($frag:expr),+ $(,)?) => { ... }; }
Expand description
Check the condition and emit a Diagnostics::error
if it fails.