[][src]Macro cex::frame

macro_rules! frame {
    ( $($arg:tt)+ ) => { ... };
    () => { ... };
}

A macro to generate a Frame, to store the source of the error with file name, module path, line/column numbers, and an optional context info, using the same syntax with format!().

An example: frame!( "An unexpected {:?} was detect.", local_var ))