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

Refactoring: clean up / unify Shredder-thrown JsonApiExceptions #843

Merged
merged 4 commits into from
Jan 29, 2024

Conversation

tatu-at-datastax
Copy link
Contributor

@tatu-at-datastax tatu-at-datastax commented Jan 29, 2024

What this PR does:

Cleans up the way Shredder throws JsonApiException to use "formatter-throws" method.

Also unifies some of minor deviations on messages, so that we have consistent casing for error messages etc.
(and try to do this earlier rather than later to avoid later breakages past 1.0 GA)

Which issue(s) this PR fixes:
N/A

Checklist

  • Changes manually tested
  • Automated Tests added/updated
  • Documentation added/updated
  • CLA Signed: DataStax CLA

@tatu-at-datastax tatu-at-datastax self-assigned this Jan 29, 2024
@tatu-at-datastax tatu-at-datastax requested a review from a team as a code owner January 29, 2024 18:54
Copy link
Contributor

@Yuqi-Du Yuqi-Du left a comment

Choose a reason for hiding this comment

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

LGTM!

@tatu-at-datastax tatu-at-datastax merged commit 35e009c into main Jan 29, 2024
2 checks passed
@tatu-at-datastax tatu-at-datastax deleted the tatu/api-exception-cleanup branch January 29, 2024 22:12
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.

2 participants