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

add support for go-integrations overriding error code for error types #315

Merged
merged 1 commit into from
Jul 14, 2021

Conversation

skotambkar
Copy link
Contributor

@skotambkar skotambkar commented Jul 9, 2021

AwsQueryError trait overrides the error code for an error type.

https://awslabs.github.io/smithy/1.0/spec/aws/aws-query-protocol.html#aws-protocols-awsqueryerror-trait

This change allows us to override errorCode for a protocol generator, defaulting to error shape name as error code.

@skotambkar skotambkar requested review from jasdel and skmcgrail July 9, 2021 00:25
@skotambkar skotambkar merged commit 1104790 into aws:main Jul 14, 2021
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.

4 participants