Skip to content

Refactor ApiErrorBody as an AutoValue. #499

Closed
renaudhartert-db wants to merge 11 commits into
mainfrom
renaud-hartert_data/error2
Closed

Refactor ApiErrorBody as an AutoValue. #499
renaudhartert-db wants to merge 11 commits into
mainfrom
renaud-hartert_data/error2

Conversation

@renaudhartert-db
Copy link
Copy Markdown
Contributor

What changes are proposed in this pull request?

This PR refactors ApiErrorBody as an AutoValue that uses the new ErrorDetails class rather than the deprecated list of ErrorDetail classes. It is a follow-up to PR #497. This PR is a step toward surfacing ErrorDetails in DatabricksError.

How is this tested?

Unit and integration tests.

@github-actions
Copy link
Copy Markdown
Contributor

Please ensure that the NEXT_CHANGELOG.md file is updated with any relevant changes.
If this is not necessary for your PR, please include the following in your PR description:
NO_CHANGELOG=true
and rerun the job.

@github-actions
Copy link
Copy Markdown
Contributor

If integration tests don't run automatically, an authorized user can run them manually by following the instructions below:

Trigger:
go/deco-tests-run/sdk-java

Inputs:

  • PR number: 499
  • Commit SHA: cfe96aa74348b98b6bf1fa979a1b6d7fd2e832e5

Checks will be approved automatically on success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant