MCPcopy Create free account
hub / github.com/Noumena-Network/code / respondError

Function respondError

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

Source from the content-addressed store, hash-verified

4700 output: Stream<StdoutMessage>,
4701): void {
4702 const respondError = (error: string) =>
4703 output.enqueue({
4704 type: 'control_response',
4705 response: { subtype: 'error', request_id: requestId, error },
4706 })
4707
4708 if (!(feature('KAIROS') || feature('KAIROS_CHANNELS'))) {
4709 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