gapic-generator-python icon indicating copy to clipboard operation
gapic-generator-python copied to clipboard

Update error handling helper for a synchronous REST call

Open ohmayr opened this issue 1 year ago • 1 comments

google.api.core.exceptions.from_http_response only supports formatting response errors where a response is of type requests.Response.

Deprecate google.api.core.exceptions.from_http_response and use google.api.core.exceptions.format_http_response_error instead for handling response errors for a synchronous calls in GAPIC(s).

ohmayr avatar Aug 29 '24 15:08 ohmayr