Skip to content

Commit 8c137fe

Browse files
ohmayrvchudnov-ggcf-owl-bot[bot]
authored
feat: add async unsupported paramater exception (#694)
* feat: add async unsupported paramater exception * Update google/api_core/exceptions.py Co-authored-by: Victor Chudnovsky <vchudnov@google.com> * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Victor Chudnovsky <vchudnov@google.com> Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 1c4b0d0 commit 8c137fe

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

google/api_core/exceptions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -442,6 +442,12 @@ class DeadlineExceeded(GatewayTimeout):
442442
grpc_status_code = grpc.StatusCode.DEADLINE_EXCEEDED if grpc is not None else None
443443

444444

445+
class AsyncRestUnsupportedParameterError(NotImplementedError):
446+
"""Raised when an unsupported parameter is configured against async rest transport."""
447+
448+
pass
449+
450+
445451
def exception_class_for_http_status(status_code):
446452
"""Return the exception class for a specific HTTP status code.
447453

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy