Module 3 of 3 in Advanced Swift Techniques
Advanced Error Handling & Result Types
Module outcomes
- Review basic error handling with optionals and throw-catch.
- Learn how typed throws can help the compiler help you.
- Learn when Result types can be useful, for example, when you need to retain operation values.
Covered concepts
- try, try? and try!
- throw, do-catch
- Typed throw
- Result type