MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / fail

Function fail

apps/desktop/scripts/smoke-sidecar.ts:55–58  ·  view source on GitHub ↗
(msg: string)

Source from the content-addressed store, hash-verified

53// Throw instead of process.exit so main()'s finally still tears down the
54// spawned daemon + temp dirs — exiting here leaks a running process.
55const fail = (msg: string): never => {
56 // oxlint-disable-next-line executor/no-try-catch-or-throw, executor/no-error-constructor -- boundary: standalone smoke harness surfaces failures as a thrown error
57 throw new Error(`[smoke-sidecar] FAIL: ${msg}`);
58};
59
60type ToolCallResult = Awaited<ReturnType<Client["callTool"]>>;
61

Callers 6

completePausedResultFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected