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

Method setError

packages/consortium-cli/src/claude/sdk/query.ts:47–49  ·  view source on GitHub ↗
(error: Error)

Source from the content-addressed store, hash-verified

45 }
46
47 setError(error: Error): void {
48 this.inputStream.error(error)
49 }
50
51 next(...args: [] | [undefined]): Promise<IteratorResult<SDKMessage>> {
52 return this.sdkMessages.next(...args)

Callers 1

queryFunction · 0.95

Calls 1

errorMethod · 0.80

Tested by

no test coverage detected