Join Slack
Powered by
Hi, what’s best class to represent error in Androi...
# android
n
nil2l
09/07/2017, 10:31 AM
Hi, what’s best class to represent error in Android/Kotlin? Like NSError in mac/ios.
e
enighma
09/07/2017, 11:23 AM
That depends if NSError is a Runtime error or not, I’d say. From the name it sounds like it maps to Exception
n
ngubenson
09/07/2017, 11:56 AM
I think java or kotlin often uses Exception just as NSError in OC
Open in Slack
Previous
Next