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

Function fail

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

Source from the content-addressed store, hash-verified

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

Callers 3

completePausedResultFunction · 0.70
mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected