is there a shortcut in kotlin to crash the app?
# android
s
is there a shortcut in kotlin to crash the app?
r
error("Crash it")
todo("Crash it")
👍 1
s
throw Error("that's an error!") says the IDE, needs the throw
r
nop, just "error()" is a kotlin lib function
s
yes you're right