How to handle errors by JavaScript side in Pyodide
I’d like to catch errors thrown by Python side in Pyodide. To handle them in JavaScript side, i.e. use try-catch syntax in JS, how should I get the exception object?
I’d like to catch errors thrown by Python side in Pyodide. To handle them in JavaScript side, i.e. use try-catch syntax in JS, how should I get the exception object?