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

refactor: delegate exception error messages to exception base class logic #1044

Merged
merged 2 commits into from
Feb 27, 2024

Conversation

aajtodd
Copy link
Contributor

@aajtodd aajtodd commented Feb 27, 2024

Issue #

n/a

Description of changes

Refactor exception codegen to pass the message field to the exception base class constructor rather than overriding it wholesale. This will allow the base class to augment the message (or fill it in from other sources like sdkErrorMetadata which may have more information from protocol parsing logic).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@aajtodd aajtodd requested a review from a team as a code owner February 27, 2024 19:38
Copy link

sonarcloud bot commented Feb 27, 2024

Quality Gate Passed Quality Gate passed

Issues
1 New issue

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

@aajtodd aajtodd merged commit d6928be into main Feb 27, 2024
13 checks passed
@aajtodd aajtodd deleted the refactor-error-codegen branch February 27, 2024 20:41
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.

3 participants