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

Function errorMessage

source code/utils/errors.ts:121–123  ·  view source on GitHub ↗
(e: unknown)

Source from the content-addressed store, hash-verified

119 * Use when you only need the message (e.g., for logging or display).
120 */
121export function errorMessage(e: unknown): string {
122 return e instanceof Error ? e.message : String(e)
123}
124
125/**
126 * Extract the errno code (e.g., 'ENOENT', 'EACCES') from a caught error.

Callers 15

readPDFFunction · 0.70
extractPDFPagesFunction · 0.70
clearCwdEnvFilesFunction · 0.70
processSessionFilesFunction · 0.70
getAllSessionFilesFunction · 0.70
getTaskFunction · 0.70
claimTaskFunction · 0.70
claimTaskWithBusyCheckFunction · 0.70
readTeamMembersFunction · 0.70
execFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected