Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions gcloud/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,11 @@ class MethodNotImplemented(ServerError):
code = 501


class BadGateway(ServerError):
"""Exception mapping a '502 Bad Gateway' response."""
code = 502

This comment was marked as spam.



class ServiceUnavailable(ServerError):
"""Exception mapping a '503 Service Unavailable' response."""
code = 503
Expand Down