Hi, what’s best class to represent error in Androi...
# android
n
Hi, what’s best class to represent error in Android/Kotlin? Like NSError in mac/ios.
e
That depends if NSError is a Runtime error or not, I’d say. From the name it sounds like it maps to Exception
n
I think java or kotlin often uses Exception just as NSError in OC