getUnhandledExceptionHook

Returns a user-defined uncaught exception handler set by setUnhandledExceptionHook or null if no user-defined handlers were set.

Since Kotlin

1.6