MCPcopy
hub / github.com/codeaashu/claude-code / error

Method error

src/utils/stream.ts:59–67  ·  view source on GitHub ↗
(error: unknown)

Source from the content-addressed store, hash-verified

57 }
58
59 error(error: unknown) {
60 this.hasError = error
61 if (this.readReject) {
62 const reject = this.readReject
63 this.readResolve = undefined
64 this.readReject = undefined
65 reject(error)
66 }
67 }
68
69 return(): Promise<IteratorResult<T, unknown>> {
70 this.isDone = true

Callers 15

runFunction · 0.45
setupFunction · 0.45
maybeDumpStateForDebugFunction · 0.45
windowsPaths.tsFile · 0.45
assertMinVersionFunction · 0.45
installGlobalPackageFunction · 0.45
_runAndCacheFunction · 0.45
refreshAwsAuthFunction · 0.45
refreshGcpAuthFunction · 0.45
exitWithErrorFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected