MCPcopy
hub / github.com/21st-dev/1code / ExecFileException

Interface ExecFileException

src/main/lib/git/worktree.ts:24–31  ·  view source on GitHub ↗

* Error thrown by execFile when the command fails. * `code` can be a number (exit code) or string (spawn error like "ENOENT").

Source from the content-addressed store, hash-verified

22 * `code` can be a number (exit code) or string (spawn error like "ENOENT").
23 */
24interface ExecFileException extends Error {
25 code?: number | string;
26 killed?: boolean;
27 signal?: NodeJS.Signals;
28 cmd?: string;
29 stdout?: string;
30 stderr?: string;
31}
32
33function isExecFileException(error: unknown): error is ExecFileException {
34 return (

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected