Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from Jan 10, 2020

Conversation

olavloite
Copy link
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
Copy link
Contributor

@sebright sebright left a comment

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 join this conversation on GitHub. Already have an account? Sign in to comment
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