swift use else with try? code example
Example: swift do catch
do {
let sandwich = try makeMeSandwich(kitchen)
} catch let error {
print(error.localizedDescription)
}
do {
let sandwich = try makeMeSandwich(kitchen)
} catch let error {
print(error.localizedDescription)
}