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

Function onError

src/services/lsp/LSPClient.ts:121–124  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

119 resolve()
120 }
121 const onError = (error: Error): void => {
122 cleanup()
123 reject(error)
124 }
125 const cleanup = (): void => {
126 spawnedProcess.removeListener('spawn', onSpawn)
127 spawnedProcess.removeListener('error', onError)

Callers 2

TeleportResumeWrapperFunction · 0.85
checkAndInstallFunction · 0.85

Calls 1

cleanupFunction · 0.70

Tested by

no test coverage detected