Function af_core::fail::from[][src]

pub fn from<T: Into<Error>>(err: T) -> Error

Create a new [Error] from a given error.