Macro gstuff::ERR

source ·
macro_rules! ERR {
    ($format: expr, $($args: tt)+) => { ... };
    ($format: expr) => { ... };
}
Expand description

Returns a Err(String), prepending the current location (file name and line number) to the string.

Examples: ERR! ("too bad"); ERR! ("{}", foo);