Open ohmayr opened 2 weeks ago
Let's sync on this, because it intersect with the error details clean-up project. As part of that, there's a goal to make some of the errors more uniform between gRPC and REST, so we should be deliberate about whether we do indeed want to expose the format_http_response_error
parameters method
and request_url
.
google.api.core.exceptions.from_http_response
only supports formatting response errors where a response is of typerequests.Response
.Deprecate
google.api.core.exceptions.from_http_response
and usegoogle.api.core.exceptions.format_http_response_error
instead for handling response errors for a synchronous calls in GAPIC(s).