MCPcopy Create free account
hub / github.com/ConsortiumAI/Consortium / error

Method error

packages/consortium-cli/src/claude/sdk/stream.ts:55–63  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

53 }
54
55 error(error: Error): void {
56 this.hasError = error
57 if (this.readReject) {
58 const reject = this.readReject
59 this.readResolve = undefined
60 this.readReject = undefined
61 reject(error)
62 }
63 }
64
65 async return(): Promise<IteratorResult<T>> {
66 this.isDone = true

Callers 14

SessionFunction · 0.80
handleSendFunction · 0.80
HomeFunction · 0.80
handleDeleteFunction · 0.80
mainFunction · 0.80
logToConsoleMethod · 0.80
logToFileMethod · 0.80
runClaudeFunction · 0.80
setErrorMethod · 0.80
readMessagesMethod · 0.80
queryFunction · 0.80
main.tsFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected