MCPcopy Index your code
hub / github.com/codeaashu/claude-code / exitWithMessage

Function exitWithMessage

src/cli/structuredIO.ts:776–781  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

774}
775
776function exitWithMessage(message: string): never {
777 // biome-ignore lint/suspicious/noConsole:: intentional console output
778 console.error(message)
779 // eslint-disable-next-line custom-rules/no-process-exit
780 process.exit(1)
781}
782
783/**
784 * 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