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

Swift: How to handle errors from the Swift SDK #6107

Merged
merged 2 commits into from
Feb 15, 2024

Conversation

shepazon
Copy link
Contributor

This pull request adds a new example demonstrating how to process errors returned by calls to the AWS SDK for Swift. The example shows both how to handle a service error as well as how to identify and catch HTTP errors reported by the SDK.

This will serve as a source of snippets for the error handling chapter in the SDK for Swift Developer Guide.


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

@shepazon shepazon self-assigned this Feb 13, 2024
@github-actions github-actions bot added the Swift This issue relates to the AWS SDK for Swift label Feb 13, 2024
@shepazon shepazon added the Task A general update to the code base for language clarification, missing actions, tests, etc. label Feb 13, 2024
@shepazon shepazon added the On Call Review needed This work needs an on-call review label Feb 14, 2024
@scmacdon scmacdon added On Call Review complete On call review complete and removed On Call Review needed This work needs an on-call review labels Feb 15, 2024
@scmacdon scmacdon merged commit 7b0a4d5 into awsdocs:main Feb 15, 2024
7 checks passed
max-webster pushed a commit to max-webster/aws-doc-sdk-examples that referenced this pull request Mar 15, 2024
* Started work on error handling example

* Complete Swift error handling example
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
On Call Review complete On call review complete Swift This issue relates to the AWS SDK for Swift Task A general update to the code base for language clarification, missing actions, tests, etc.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants