Decoroutinator playground
import kotlinx.coroutines.test.runTest
import kotlinx.coroutines.yield
suspend fun fun1() {
yield()
throw Exception("exception at ${System.currentTimeMillis()}")
}
suspend fun fun2() {
fun1()
}
suspend fun fun3() {
fun2()
}
fun main() {
runTest {
fun3()
}
}