clementine_core::utils

Macro delayed_panic

Source
macro_rules! delayed_panic {
    ($($arg:tt)*) => { ... };
}
Expand description

Delays the exit of the program for 15 seconds, to allow for logs to be flushed. Then panics with the given arguments.

ยงParameters

  • ($($arg:tt)*): Arguments to pass to panic!, in the same manner as format! and println!