jiff::error

Macro err

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

Creates a new ad hoc error with no causal chain.

This accepts the same arguments as the format! macro. The error it creates is just a wrapper around the string created by format!.