Skip to main content

panicand

Macro panicand 

Source
macro_rules! panicand {
    ($mac:ident !( $($fmt_args:tt)* )) => { ... };
}
Expand description

Invoke a print macro, then panic with the same message

ยงExample

cu::panicand!(error!("found {} errors", 3));