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

Function writeToStderr

src/utils/process.ts:32–34  ·  view source on GitHub ↗
(data: string)

Source from the content-addressed store, hash-verified

30}
31
32export function writeToStderr(data: string): void {
33 writeOut(process.stderr, data)
34}
35
36// Write error to stderr and exit with code 1. Consolidates the
37// console.error + process.exit(1) pattern used in entrypoint fast-paths.

Callers 3

runFunction · 0.85
logForDebuggingFunction · 0.85

Calls 1

writeOutFunction · 0.85

Tested by

no test coverage detected