Join Slack
Powered by
Running into issues trying to catch js errors from...
# webassembly
l
Luca
02/08/2024, 5:49 PM
Running into issues trying to catch js errors from kotlin wasm where my try catchs just do not catch at all, and found this:
https://kotlinlang.org/docs/wasm-js-interop.html#exception-handling
So is it just not possible at all to catch a js error?
s
Svyatoslav Kuzmich [JB]
02/08/2024, 5:52 PM
It is not implemented in Kotlin currently. But you can catch JS errors in JS using JS-interop, like in
this example
.
l
Luca
02/08/2024, 5:54 PM
Ah, cool. That’s helpful, thanks!
30
Views
Open in Slack
Previous
Next