af_core::fail
pub fn from<T: Into<Error>>(err: T) -> Error
Create a new [Error] from a given error.
Error