MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / errorHandler

Method errorHandler

apps/cli/src/agent/extension-host.ts:485–488  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

483 }
484
485 const errorHandler = (error: Error) => {
486 cleanup()
487 reject(error)
488 }
489
490 const cleanup = () => {
491 this.client.off("taskCompleted", completeHandler)

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.50

Tested by

no test coverage detected