DefaultUncaughtExceptionHandler

class DefaultUncaughtExceptionHandler(logger: () -> Logger) : CoroutineExceptionHandler

Handles all uncaught exceptions and logs errors with the specified logger ignoring CancellationException and IOException.

Constructors

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun handleException(context: CoroutineContext, exception: Throwable)

Properties

Link copied to clipboard