MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / onError

Function onError

src/mcp/proxy.ts:694–694  ·  view source on GitHub ↗
(err: Error)

Source from the content-addressed store, hash-verified

692 }
693 };
694 const onError = (err: Error) => { cleanup(); reject(err); };
695 const onClose = () => { cleanup(); reject(new Error('daemon closed connection before hello')); };
696 const timer = setTimeout(() => {
697 cleanup();

Callers

nothing calls this directly

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected