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