I'm trying to understand how `WindowExceptionHandl...
# compose-desktop
m
I'm trying to understand how
WindowExceptionHandlerFactory
is used. Is it handling all exceptions in Compose, or only exceptions in Windows?
Copy code
application {
    CompositionLocalProvider(LocalWindowExceptionHandlerFactory provides MyHandler) {
        throw Exception("1")
        Window(..) {
            throw Exception("2")
        }
    }
}
Is my understanding correct, that the handler should catch exception 2, but not exception 1?
👀 1