[−][src]Macro strerror::eformat
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 StrError
s. 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
.