MCPcopy Index your code
hub / github.com/codeaashu/claude-code / handleError

Method handleError

web/lib/performance/worker-pool.ts:69–75  ·  view source on GitHub ↗
(e: ErrorEvent)

Source from the content-addressed store, hash-verified

67 };
68
69 const handleError = (e: ErrorEvent) => {
70 slot.worker.removeEventListener("message", handleMessage);
71 slot.worker.removeEventListener("error", handleError);
72 slot.busy = false;
73 task.reject(new Error(e.message));
74 this.dequeue();
75 };
76
77 slot.worker.addEventListener("message", handleMessage);
78 slot.worker.addEventListener("error", handleError);

Callers

nothing calls this directly

Calls 2

dequeueMethod · 0.95
rejectMethod · 0.80

Tested by

no test coverage detected