Taking Control of Errors in Swift: CodeMash

CodeMash 2020 | Straying From the Happy Path: Taking Control of Errors in Swift | Jeff Kelley
Course info
Level
Beginner
Updated
Feb 7, 2020
Duration
37m
Table of contents
Straying From the Happy Path: Taking Control of Errors in Swift
Description
Course info
Level
Beginner
Updated
Feb 7, 2020
Duration
37m
Description

Have you ever seen a code comment saying “this should never happen”? What would happen if it did? Swift has a diverse set of error-handling capabilities, from using throw to send errors up the stack to using a Result to handle errors in asynchronous methods. In this talk, Jeff Kelley will look at the landscape of handling errors in Swift, create new ways of expressing and handling them, and show how even the most impossible code-level situations can have 100% test coverage. You'll walk away with knowledge to take control of the errors in your code.

About the author
About the author

CodeMash is a conference for developers. We eat, drink, and learn about all things code. Do it all in shorts and sandals by a pool.

More from the author
Test-driven Development: CodeMash
Intermediate
50m
Feb 9, 2020
Postman Delivers: CodeMash
Intermediate
49m
Feb 7, 2020
What's New in Xamarin Forms 4.0: CodeMash
Intermediate
53m
Feb 7, 2020
More courses by CodeMash