Function re::err

source ·
pub fn err<T>(code: StatusCode, body: impl Into<Msg>) -> Result<T, Err>