-
Notifications
You must be signed in to change notification settings - Fork 105
generate server-side exceptions as classes #502
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
Merged
AllanZhengYP
merged 21 commits into
smithy-lang:main
from
AllanZhengYP:design-exception
Feb 21, 2022
Merged
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
e761852
rename SmithyException to SdkException in client SDK
AllanZhengYP 22bede6
Revert "rename SmithyException to SdkException in client SDK"
AllanZhengYP f31d283
generate exception in classes for http bindings and rpc
AllanZhengYP 62e9f5f
update deser to throw new exception classes
AllanZhengYP e221f5c
re-export SdkException in client index
AllanZhengYP 7506172
update comments
AllanZhengYP 1b7a543
rename SdkException to ServiceException
AllanZhengYP 3fb542e
fix parsing default exception without body.Error
AllanZhengYP 1fc92a4
keep Message in error interface for backwards compatibility
AllanZhengYP 40e99fd
address feedbacks
AllanZhengYP 509eb09
fix checkstyle failure for copyright year
AllanZhengYP ddd6de4
consolidate ssdk and client sdk error classes
AllanZhengYP 07e953a
rename ClientException to SmithyClient in server-common package
AllanZhengYP bdf4f88
export the server-side base exception SmithyException from the client…
AllanZhengYP e3eb0e1
fix http bunding decorateServiceException parameters
AllanZhengYP 42d43bb
apply writeAdditionalExports() of TypeScriptIntegration interface to …
AllanZhengYP 786c91a
address feedback to not extend framework errors
AllanZhengYP bdbd9d6
chore: update yarn.lock
AllanZhengYP ca7741d
do not reexport base exception for ssdk; export base exception in cli…
AllanZhengYP d2a1497
rename SmithyException in ssdk to ServiceException
AllanZhengYP 2d6daea
generate service specific exception class for client sdk
AllanZhengYP File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
77 changes: 0 additions & 77 deletions
77
...codegen/src/main/java/software/amazon/smithy/typescript/codegen/ServerErrorGenerator.java
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.