Skip to content
This repository was archived by the owner on Apr 7, 2026. It is now read-only.

feat: add public method to get gRPC status code#25

Merged
olavloite merged 1 commit into
masterfrom
error-grpc-status-code
Jan 10, 2020
Merged

feat: add public method to get gRPC status code#25
olavloite merged 1 commit into
masterfrom
error-grpc-status-code

Conversation

@olavloite

Copy link
Copy Markdown
Collaborator

Adds a public method to get the gRPC status code from a SpannerException.

Fixes #14.

@googlebot googlebot added the cla: yes This human has signed the Contributor License Agreement. label Jan 9, 2020

@sebright2 sebright2 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for adding this API!

@olavloite olavloite merged commit 2dbe3cf into master Jan 10, 2020
@olavloite olavloite deleted the error-grpc-status-code branch January 10, 2020 05:13
rajatbhatta pushed a commit to rajatbhatta/java-spanner that referenced this pull request Nov 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

cla: yes This human has signed the Contributor License Agreement.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spanner: Provide a way to get the gRPC status code from a SpannerException

4 participants