MCPcopy
hub / github.com/claude-code-best/claude-code / exitWithMessage

Function exitWithMessage

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

Source from the content-addressed store, hash-verified

799}
800
801function exitWithMessage(message: string): never {
802 console.error(message)
803 // eslint-disable-next-line custom-rules/no-process-exit
804 process.exit(1)
805}
806
807/**
808 * Execute PermissionRequest hooks and return a decision if one is made.

Callers 2

processLineMethod · 0.70
runFunction · 0.50

Calls 1

errorMethod · 0.65

Tested by

no test coverage detected