pub fn ImATeapot(err: impl Display) -> Error
Wraps any error into Error and the status code is StatusCode::IM_A_TEAPOT.
Error
StatusCode::IM_A_TEAPOT