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
constructor(logger: Logger)
constructor(logger: () -> Logger)

Properties

Link copied to clipboard

Functions

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