resumeUndispatchedWithException

abstract fun CoroutineDispatcher.resumeUndispatchedWithException(
    exception: Throwable
): Unit
(source)

Resumes this continuation with a given exception in the invoker thread without going though dispatch function of the CoroutineDispatcher in the context. This function is designed to be used only by the CoroutineDispatcher implementations themselves. It should not be used in general code.