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

Function respondError

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

Source from the content-addressed store, hash-verified

4666 output: Stream<StdoutMessage>,
4667): void {
4668 const respondError = (error: string) =>
4669 output.enqueue({
4670 type: 'control_response',
4671 response: { subtype: 'error', request_id: requestId, error },
4672 })
4673
4674 if (!(feature('KAIROS') || feature('KAIROS_CHANNELS'))) {
4675 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