Macro json5format::test_error

source ·
macro_rules! test_error {
    ($err:expr) => { ... };
}
Expand description

Create a TestFailure error including the source file location of the macro call.

§Example:

return Err(test_error!("error message"));