(errorElem, err)
| 34 | } |
| 35 | |
| 36 | function handlePythonError(errorElem, err) { |
| 37 | if (err instanceof WebAssembly.RuntimeError) { |
| 38 | err = window.__RUSTPYTHON_ERROR || err; |
| 39 | } |
| 40 | errorElem.textContent = err; |
| 41 | } |
| 42 | |
| 43 | function addCSS(code) { |
| 44 | let style = document.createElement('style'); |
no outgoing calls
no test coverage detected