MCPcopy Index your code
hub / github.com/claude-code-best/claude-code / respondError

Function respondError

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

Source from the content-addressed store, hash-verified

4901 output: Stream<StdoutMessage>,
4902): void {
4903 const respondError = (error: string) =>
4904 output.enqueue({
4905 type: 'control_response',
4906 response: { subtype: 'error', request_id: requestId, error },
4907 })
4908
4909 if (!(feature('KAIROS') || feature('KAIROS_CHANNELS'))) {
4910 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