Companion
object Companion
Properties
Link copied to clipboard
Instance that swallows (ignores) the UncaughtException.
Link copied to clipboard
Instance that prints UncaughtException stack trace to stderr.
Link copied to clipboard
Instance that automatically throws UncaughtException
Functions
Link copied to clipboard
Retrieves the Handler from CoroutineContext if present.
Link copied to clipboard
fun <T> UncaughtException.Handler?.withSuppression(block: UncaughtException.SuppressedHandler.() -> T): T
Wraps an existing handler with suppression such that any invocation of tryCatch within block lambda is combined into a single UncaughtException, which is then propagated to the current handler (if there even was an UncaughtException).