From 22fc6cc9a990270c6da7236c02727b5d4dec2752 Mon Sep 17 00:00:00 2001 From: Anthonios Partheniou Date: Fri, 13 Aug 2021 15:36:44 +0000 Subject: [PATCH] chore: update if_transient_error docs to match behaviour --- google/api_core/retry.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/google/api_core/retry.py b/google/api_core/retry.py index d39f97c1..44cd7469 100644 --- a/google/api_core/retry.py +++ b/google/api_core/retry.py @@ -113,8 +113,11 @@ def if_exception_type_predicate(exception): ``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