Skip to content

Make google-cloud-java API exception handling easier #2295

@jabubake

Description

@jabubake

Users should have clear access to exceptions and their status codes in a transport (gRPC/HTTP) agnostic way, so that they may be handled appropriately in the client.

Currently, there is an inconsistent surface.
Libraries like Spanner provide SpannerException while others return BaseGrpcServiceException
@lesv

Metadata

Metadata

Labels

priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions