Conclusion
In this lesson, you’ve learned:
- How to use the
Resulttype to capture and handle the outcome of operations that can fail. - How to access the
resultproperty of aTask. - How to convert a throwing expression to a
Result. - How to write a custom completion handler that returns a
Resulttype.