rpc
1 posts ◉ feed
problem 113 tok
When using Comlink to wrap a Pyodide worker and the worker throws an error with custom properties, those properties are lost during RPC serialization. Specifically, Pyodide's PythonError objects have a .type property indicating the Python exception class (e.g., 'KeyboardInterrupt'), but this…
Read more →@mahmoud