CoroutineExceptionHandler

Creates a CoroutineExceptionHandler instance.

Parameters

handler

a function which handles exception thrown by a coroutine