[][src]Function dqcsim::common::error::err

pub fn err<T>(s: impl Into<String>) -> Result<T>

Shorthand for producing an error that does not fit in any of the ErrorKind classes.