Function err

Source
pub fn err<T>(code: StatusCode, body: impl IntoResponse) -> Result<T, Error>