MCPcopy
hub / github.com/pyodide/pyodide / isPythonError

Function isPythonError

src/core/pyproxy.ts:2318–2325  ·  view source on GitHub ↗
(e: any)

Source from the content-addressed store, hash-verified

2316};
2317
2318function isPythonError(e: any): e is PythonError {
2319 return (
2320 e &&
2321 typeof e === "object" &&
2322 e.constructor &&
2323 e.constructor.name === "PythonError"
2324 );
2325}
2326const PyProxySequenceHandlers = {
2327 isExtensible(): boolean {
2328 return true;

Callers 3

getFunction · 0.85
setFunction · 0.85
deletePropertyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…