Join Slack
Communities
Powered by
is there a shortcut in kotlin to crash the app?
# android
s
Sergio C.
09/10/2019, 8:41 PM
is there a shortcut in kotlin to crash the app?
r
robertoestivill
09/10/2019, 8:45 PM
error("Crash it")
todo("Crash it")
👍 1
s
Sergio C.
09/10/2019, 8:51 PM
throw Error("that's an error!") says the IDE, needs the throw
r
robertoestivill
09/10/2019, 8:55 PM
nop, just "error()" is a kotlin lib function
s
Sergio C.
09/10/2019, 8:57 PM
yes you're right
4
Views
Open in Slack
Previous
Next