diff options
author | Anthonios Partheniou <partheniou@google.com> | 2021-08-13 12:04:15 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-13 16:04:15 +0000 |
commit | 362ca6ce33075f7e5f5696b2116401162babf6da (patch) | |
tree | 70d1ae0ca1d569105c9fe86f81aefa5d82fc5c95 | |
parent | a54cc10bdcf8dd8df59d24c58a9b9053d456c846 (diff) | |
download | python-api-core-362ca6ce33075f7e5f5696b2116401162babf6da.tar.gz |
chore: update if_transient_error docs to match behaviour (#253)
Fixes #185 🦕
-rw-r--r-- | google/api_core/retry.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/google/api_core/retry.py b/google/api_core/retry.py index d39f97c..44cd746 100644 --- a/google/api_core/retry.py +++ b/google/api_core/retry.py @@ -113,8 +113,11 @@ The following server errors are considered transient: ``INTERNAL(13)`` and its subclasses. - :class:`google.api_core.exceptions.TooManyRequests` - HTTP 429 - :class:`google.api_core.exceptions.ServiceUnavailable` - HTTP 503 -- :class:`google.api_core.exceptions.ResourceExhausted` - gRPC - ``RESOURCE_EXHAUSTED(8)`` +- :class:`requests.exceptions.ConnectionError` +- :class:`requests.exceptions.ChunkedEncodingError` - The server declared + chunked encoding but sent an invalid chunk. +- :class:`google.auth.exceptions.TransportError` - Used to indicate an + error occurred during an HTTP request. """ # pylint: enable=invalid-name |