MCPcopy
hub / github.com/coder/mux / errorMsg

Function errorMsg

src/node/services/backgroundProcessExecutor.ts:50–52  ·  view source on GitHub ↗

Helper to extract error message for logging

(error: unknown)

Source from the content-addressed store, hash-verified

48
49/** Helper to extract error message for logging */
50function errorMsg(error: unknown): string {
51 return getErrorMessage(error);
52}
53
54/** Subdirectory under temp for background process output */
55const BG_OUTPUT_SUBDIR = "mux-bashes";

Callers 13

spawnProcessFunction · 0.85
getExitCodeMethod · 0.85
terminateMethod · 0.85
writeMetaMethod · 0.85
getOutputFileSizeMethod · 0.85
readOutputMethod · 0.85
migrateToBackgroundFunction · 0.85
consumeStreamsMethod · 0.85
consumeStreamMethod · 0.85
writeExitCodeMethod · 0.85
getOutputFileSizeMethod · 0.85
writeMetaMethod · 0.85

Calls 1

getErrorMessageFunction · 0.90

Tested by

no test coverage detected