Taking Control of Errors in Swift: CodeMash
by CodeMash
CodeMash 2020 | Straying From the Happy Path: Taking Control of Errors in Swift | Jeff Kelley
What you'll learn
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
CodeMash is a unique event that educates developers on current practices, methodologies and technology trends in variety of platforms and development languages such as Java, .NET, Ruby and PHP. Held every January at the lush Kalahari Resort in Sandusky, Ohio, attendees will be able to attend a world-class technical conference amid Ohio’s largest indoor waterpark. Nobody will frown if you show up in shorts, sandals, and your loudest t-shirt. You might even win a prize for doing so. It’s not just ... moreabout a grind of sessions, but also providing attendees the opportunity of continuing the conversations and networking outside of the daily conference events. The goal has always been to achieve this mission by creating a conference environment that focuses on professionalism and respect for one another.