SkygearIO / skygear-SDK-iOS

Skygear SDK for iOS
https://skygear.io
Other
10 stars 28 forks source link

Consistent error handling #215

Closed carmenlau closed 6 years ago

carmenlau commented 6 years ago

For this issue in iOS, we only need to check if the error handling of current implementation is consistent.

For example, if all the errors are calling the error callback and if all build-in apis and lambda are using error object in error callback.

cheungpat commented 6 years ago

Should follow these

https://github.com/search?l=Swift&q=arerror&type=Code https://deezer.io/whats-right-with-errors-2fe419424f62 https://github.com/apple/swift-evolution/blob/master/proposals/0112-nserror-bridging.md