Skip to content

Commit 362ca6c

Browse files
authored
chore: update if_transient_error docs to match behaviour (#253)
Fixes #185 🦕
1 parent a54cc10 commit 362ca6c

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

google/api_core/retry.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,8 +113,11 @@ def if_exception_type_predicate(exception):
113113
``INTERNAL(13)`` and its subclasses.
114114
- :class:`google.api_core.exceptions.TooManyRequests` - HTTP 429
115115
- :class:`google.api_core.exceptions.ServiceUnavailable` - HTTP 503
116-
- :class:`google.api_core.exceptions.ResourceExhausted` - gRPC
117-
``RESOURCE_EXHAUSTED(8)``
116+
- :class:`requests.exceptions.ConnectionError`
117+
- :class:`requests.exceptions.ChunkedEncodingError` - The server declared
118+
chunked encoding but sent an invalid chunk.
119+
- :class:`google.auth.exceptions.TransportError` - Used to indicate an
120+
error occurred during an HTTP request.
118121
"""
119122
# pylint: enable=invalid-name
120123

0 commit comments

Comments
 (0)