MCPcopy Create free account
hub / github.com/oboard/claude-code-rev / respondError

Function respondError

src/cli/print.ts:4673–4677  ·  view source on GitHub ↗
(error: string)

Source from the content-addressed store, hash-verified

4671 output: Stream<StdoutMessage>,
4672): void {
4673 const respondError = (error: string) =>
4674 output.enqueue({
4675 type: 'control_response',
4676 response: { subtype: 'error', request_id: requestId, error },
4677 })
4678
4679 if (!(feature('KAIROS') || feature('KAIROS_CHANNELS'))) {
4680 return respondError('channels feature not available in this build')

Callers 1

handleChannelEnableFunction · 0.85

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected