conjure_core

Macro bug

Source
macro_rules! bug {
    ($msg:expr $(, $arg:tt)*) => { ... };
}
Expand description

Triggers a panic with a detailed bug report message, while ensuring the panic is ignored in coverage reports.

This macro is useful in situations where an unreachable code path is hit or when a bug occurs.

ยงParameters

  • msg: A string expression describing the cause of the panic or bug.