[][src]Macro json5format::test_error

macro_rules! test_error {
    ($err:expr) => { ... };
}

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

Example:

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