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

Function sendControlResponseError

src/cli/print.ts:2755–2767  ·  view source on GitHub ↗
(
    message: SDKControlRequest,
    errorMessage: string,
  )

Source from the content-addressed store, hash-verified

2753 }
2754
2755 const sendControlResponseError = function (
2756 message: SDKControlRequest,
2757 errorMessage: string,
2758 ) {
2759 output.enqueue({
2760 type: 'control_response',
2761 response: {
2762 subtype: 'error',
2763 request_id: message.request_id,
2764 error: errorMessage,
2765 },
2766 })
2767 }
2768
2769 // Handle unexpected permission responses by looking up the unresolved tool
2770 // call in the transcript and executing it

Callers 1

runHeadlessStreamingFunction · 0.85

Calls 1

enqueueMethod · 0.45

Tested by

no test coverage detected