MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / createMissingPidError

Function createMissingPidError

src/cli/__tests__/daemon-control.test.ts:19–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17const daemonPid = 123_456;
18
19function createMissingPidError(): NodeJS.ErrnoException {
20 const error = new Error('no such process') as NodeJS.ErrnoException;
21 error.code = 'ESRCH';
22 return error;
23}
24
25function createEntry(overrides: Partial<DaemonRegistryEntry> = {}): DaemonRegistryEntry {
26 const workspaceKey = overrides.workspaceKey ?? 'workspace-a';

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected