Skip to content

Commit

Permalink
chore: update if_transient_error docs to match behaviour (#253)
Browse files Browse the repository at this point in the history
Fixes #185 🦕
  • Loading branch information
parthea committed Aug 13, 2021
1 parent a54cc10 commit 362ca6c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions google/api_core/retry.py
Expand Up @@ -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

Expand Down

0 comments on commit 362ca6c

Please sign in to comment.