DefaultUncaughtExceptionHandler
class DefaultUncaughtExceptionHandler(logger: () -> Logger) : CoroutineExceptionHandler
Content copied to clipboard
Handles all uncaught exceptions and logs errors with the specified logger ignoring CancellationException and IOException.
Constructors
Functions
Link copied to clipboard
open operator override fun <E : CoroutineContext.Element> get(key: CoroutineContext.Key<E>): E?
Content copied to clipboard
Link copied to clipboard
open override fun handleException(context: CoroutineContext, exception: Throwable)
Content copied to clipboard
Link copied to clipboard
open override fun minusKey(key: CoroutineContext.Key<*>): CoroutineContext
Content copied to clipboard
Link copied to clipboard