Macro failure::format_err [−][src]
Constructs an Error
using the standard string interpolation syntax.
#[macro_use] extern crate failure; fn main() { let code = 101; let err = format_err!("Error code: {}", code); }
Constructs an Error
using the standard string interpolation syntax.
#[macro_use] extern crate failure; fn main() { let code = 101; let err = format_err!("Error code: {}", code); }