Macro errloc_macros::errlocm [] [src]

macro_rules! errlocm {
    ($e:expr) => { ... };
}

Macro that creates a message, concatenating current source file name and a line number with the specified &str.

This macro return " (at filename:linenumber)" &str. It can be used to include error location information into panic payload like this: panic!(errlocm!("Fatal error"))