Running into issues trying to catch js errors from...
# webassembly
l
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
It is not implemented in Kotlin currently. But you can catch JS errors in JS using JS-interop, like in this example.
l
Ah, cool. That’s helpful, thanks!