handleException

abstract fun handleException(
    context: CoroutineContext,
    exception: Throwable
): Unit
(source)

Handles uncaught exception in the given context. It is invoked if coroutine has an uncaught exception. See handleCoroutineException.