pub fn fmt_err(msg: impl Into<String>) -> Result<()>
Convenience: return an Err(Error::msg(msg)) for Result<()>.
Err(Error::msg(msg))
Result<()>