I'm relatively new to Clientside Programming (in t...
# webassembly
t
I'm relatively new to Clientside Programming (in terms of running logic on the Browser) Is there anything i can do to get a more meaningful exception message than this? For a example what kind of object is not usable? I don't delete DOM Objects in my script, only send messages through a websocket (in the function sendRPC).
Copy code
Uncaught runtime errors:
ERROR
An attempt was made to use an object that is not, or is no longer, usable
org.w3c.dom.send_$external_fun@webpack-internal:///./kotlin/blackstories.uninstantiated.mjs:1473:65
<Blackstories:webUI>.org.w3c.dom.send_$external_fun__externalAdapter@http://localhost:8081/41fa3fabfaa43bd17c71.wasm:wasm-function[11693]:0xc709a
<Blackstories:webUI>.name.voidi.blackstories.ServerConnection.sendRPC@http://localhost:8081/41fa3fabfaa43bd17c71.wasm:wasm-function[14074]:0xd4618
<Blackstories:webUI>.name.voidi.blackstories.main@http://localhost:8081/41fa3fabfaa43bd17c71.wasm:wasm-function[14075]:0xd4701
<Blackstories:webUI>._initialize@http://localhost:8081/41fa3fabfaa43bd17c71.wasm:wasm-function[14087]:0xd4ee2
instantiate@webpack-internal:///./kotlin/blackstories.uninstantiated.mjs:4362:21
Aren't there normal kotlin exceptions available since this run in the wasm vm on the browser?