macro_rules! return_bug { ($error_message: expr) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Expand description
Utility macro for an early exit from a function returnng an [Error
] that
represents an unexpected failure condition (a bug).
macro_rules! return_bug { ($error_message: expr) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Utility macro for an early exit from a function returnng an [Error
] that
represents an unexpected failure condition (a bug).