[][src]Macro strerror::eformat

macro_rules! eformat {
    ($($arg:tt)*) => { ... };

A macro for creating a StrError using interpolation of runtime expressions (like format!).

eformat! is an extremely simple macro meant to save some keystrokes when creating StrErrors. The name was chosen to mirror that of eprint! in the standard library, which is an "error" version of print!.

Call eformat! as you would call format!, but you will get a StrError instead of a String.