Problem Statement
What is the purpose of a `do-catch` block in Swift?
Explanation
In Swift you wrap calls to throwing functions inside a `do` block and then provide one or more `catch` clauses to handle specific errors. This lets you respond to different error cases, log them, recover gracefully or propagate further. It is a key part of Swift’s error handling model.