resumeWithException

fun resumeWithException(exception: Throwable): Unit (source)

Completes execution of this with coroutine exceptionally with the specified exception.