fmt_err

Function fmt_err 

Source
pub fn fmt_err(msg: impl Into<String>) -> Result<()>
Expand description

Convenience: return an Err(Error::msg(msg)) for Result<()>.