Swift uses do-catch, throw, and the Error protocol for error handling.
← Swift theorytheory 0/50 · 0%
Fundamentals · easy
10. Error Handling
Dealing with failure.
Check your understanding
1. Keyword to call throwing function?
2. What is 'try?'?
Dealing with failure.
Swift uses do-catch, throw, and the Error protocol for error handling.
1. Keyword to call throwing function?
2. What is 'try?'?