CoroutineExceptionHandler
inline fun CoroutineExceptionHandler(crossinline handler: (CoroutineContext, Throwable) -> Unit): CoroutineExceptionHandler(source)
Creates a CoroutineExceptionHandler instance.
Parameters
handler
a function which handles exception thrown by a coroutine