-
Notifications
You must be signed in to change notification settings - Fork 123
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: Error Details Improvement #1929
feat: Error Details Improvement #1929
Conversation
…exception not it's cause. 2) Added public methods under SpannerException to provide more info related to errors.
🤖 I detect that the PR title and the commit message differ and there's only one commit. To use the PR title for the commit history, you can use Github's automerge feature with squashing, or use -- conventional-commit-lint bot |
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerException.java
Show resolved
Hide resolved
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerExceptionFactory.java
Outdated
Show resolved
Hide resolved
@gauravpurohit06 Please make sure the commit message and PR title follow the conventional commits in the future. In this case, I just renamed the title to |
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerException.java
Outdated
Show resolved
Hide resolved
…dd support for APIException, and overloading method in SpannerExceptionFactory to add support for new parameter.
google-cloud-spanner/src/main/java/com/google/cloud/spanner/SpannerExceptionFactory.java
Outdated
Show resolved
Hide resolved
🤖 I have created a release *beep* *boop* --- ## [6.26.0](v6.25.7...v6.26.0) (2022-07-13) ### Features * Adding two new fields for Instance create_time and update_time ([#1908](#1908)) ([00b3817](00b3817)) * changes to support data, timestamp and arrays in IT tests ([#1840](#1840)) ([c667653](c667653)) * Error Details Improvement ([c8a2184](c8a2184)) * Error Details Improvement ([#1929](#1929)) ([c8a2184](c8a2184)) ### Bug Fixes * enable longpaths support for windows test ([#1485](#1485)) ([#1946](#1946)) ([fd0b845](fd0b845)) ### Dependencies * update dependency com.google.cloud:google-cloud-trace to v2.3.0 ([#1934](#1934)) ([2813eb2](2813eb2)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please).
Adding following public methods under SpannerException to provide more info related to errors.
-getReason()
-getDomain()
-getMetaData
-getErrorDetails()