diff --git a/gcloud/exceptions.py b/gcloud/exceptions.py index f42d2806f3fe..b1072bbf134d 100644 --- a/gcloud/exceptions.py +++ b/gcloud/exceptions.py @@ -151,6 +151,11 @@ class MethodNotImplemented(ServerError): code = 501 +class BadGateway(ServerError): + """Exception mapping a '502 Bad Gateway' response.""" + code = 502 + + class ServiceUnavailable(ServerError): """Exception mapping a '503 Service Unavailable' response.""" code = 503