Skip to content

docs(clients): codegen for command errors #4510

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
merged 1 commit into from
Mar 10, 2023
Merged

docs(clients): codegen for command errors #4510

merged 1 commit into from
Mar 10, 2023

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Mar 10, 2023

Issue

codegen for smithy-lang/smithy-typescript#715

Description

Adds @throws entries to Commands for the exceptions that the corresponding operation may throw.
This helps users who access the API docs for a particular command and want to write error handling.

Testing

yarn generate-clients

@kuhe kuhe requested a review from a team as a code owner March 10, 2023 17:53
@kuhe kuhe merged commit b04c8d3 into aws:main Mar 10, 2023
@kuhe kuhe deleted the docs/throws branch March 10, 2023 21:31
@github-actions
Copy link

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs and link to relevant comments in this thread.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 25, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants