MCPcopy Create free account
hub / github.com/AnukarOP/claude-code-leaked / exitWithMessage

Function exitWithMessage

source code/cli/structuredIO.ts:778–783  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

776}
777
778function exitWithMessage(message: string): never {
779 // biome-ignore lint/suspicious/noConsole:: intentional console output
780 console.error(message)
781 // eslint-disable-next-line custom-rules/no-process-exit
782 process.exit(1)
783}
784
785/**
786 * Execute PermissionRequest hooks and return a decision if one is made.

Callers 2

processLineMethod · 0.70
runFunction · 0.50

Calls 1

errorMethod · 0.45

Tested by

no test coverage detected