The Frontier logo The Frontier logo

How do we work with errors in asynchronous Swift code?

Swift’s error-related syntax calls attention to possible errors through try and throws. These throwing errors and completion handlers have pros and cons, and can’t be used in all situations. Here we examine some strategies for writing elegant async error-handling code with closures and associated-value enumerations..

Questions answered during this screencast:

- How do I handle asynchronous errors and results?
- How to define nested Error types?

Basic knowledge or experience building iOS applications is recommended.

For the More Curious...

A similar approach from our blog
Swift Enumerations
Swift Error Handling
Swift Closures
BNR Guide to iOS
BNR Guide to Swift
iOS & Swift Courses

Subscribers Only

Looks like you don't have an acocunt. Create an account today to access our collection of screencasts, skill packs, and more.

Subscribers Only

Looks like you don't have an acocunt. Create an account today to access our collection of screencasts, skill packs, and more.

Need Help?

Have questions about this screencast? Start a discussion with our nerds in the community tab.