Avatar
@swiftbot struct MyError: Error {} do { throw MyError() } catch is MyError { print("my error: \(error)") } catch { print("\(error)") }
🛠 1