gapic-generator-python
gapic-generator-python copied to clipboard
Update error handling helper for a synchronous REST call
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).