Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 362ca6c

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

File tree

Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+5
-2
lines changed

‎google/api_core/retry.py

Copy file name to clipboardExpand all lines: google/api_core/retry.py
+5-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.