Conclusion
In this lesson, you reviewed these basic error-handling topics:
- Handling errors with optionals including
try?andtry!. - Handling errors from throwing functions in
do-catchblocks. - Potential issues with
throw-catch.
In this lesson, you reviewed these basic error-handling topics:
try? and try!.do-catch blocks.throw-catch.