2015
Treehouse
Pasan Premaratne
1:15
English
An undeniable fact of software development is that bugs will crop in your code and lead to undesirable outcomes. Error handling is the process of anticipating a certain class of bugs and writing code to handle them. In this course, we take a look at the built in language constructs in Swift 2.0 to handle errors including modeling our own errors, throwing errors from functions and more. We also look at how Objective-C handles errors and what this means to us as Swift developers.
Error Handling
Types of Errors
Modeling Errors
Modeling Errors - 2 objectives
Throwing Errors
Throwing Errors - 2 objectives
Modeling and Throwing Errors - 9 questions
Handling Errors
Handling Errors - 3 objectives
Cleaning Up With Defer
Propagation of Errors in Cocoa
Error Handling - 9 questions
teamtreehouse.com/library/error-handling-in-swift-20
Download File Size:47.26 MB