Reputation: 636
In my Swift 2 OS X app I have this error:
Can anyone help me to resolve it?
Upvotes: 0
Views: 23
Reputation: 70113
"Errors thrown from here are not handled" because indeed there's no catch
following your do
. You should add something like this:
do {
...
for user in result {
...
}
} catch let error as NSError {
print(error)
}
Upvotes: 2