Swift 2.0 Error Handling

Thomas Hanning on Swift 2.0 error handling:

“Swift 2.0 has a new way of error handling. It uses a do-try-catch syntax, which is the replacement for NSError. In this post we will discuss how to use this new syntax.”

Thomas covers all the basics to get started: defining an ErrorType as well as throwing and catching errors.

Swift 2.0 error handling.