resumeWithException

inline fun <T> Continuation<T>.resumeWithException(exception: Throwable)(source)

Resumes the execution of the corresponding coroutine so that the exception is re-thrown right after the last suspension point.

Since Kotlin

1.3