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

Method constructor

e2e/setup/boot.ts:16–26  ·  view source on GitHub ↗
(
    readonly command: string,
    readonly exitCode: number | null,
    readonly signal: NodeJS.Signals | null,
    readonly logTail: string,
  )

Source from the content-addressed store, hash-verified

14 readonly _tag = "BootProcessExitError";
15
16 constructor(
17 readonly command: string,
18 readonly exitCode: number | null,
19 readonly signal: NodeJS.Signals | null,
20 readonly logTail: string,
21 ) {
22 const outcome = exitCode === null ? `signal ${signal ?? "unknown"}` : `code ${exitCode}`;
23 const diagnostic = logTail ? `\nLast boot log output:\n${logTail}` : "";
24 super(`Boot process ${JSON.stringify(command)} exited with ${outcome}${diagnostic}`);
25 this.name = "BootProcessExitError";
26 }
27}
28
29/** A service process stayed alive but did not become HTTP-ready in time. */

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected