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