* Error thrown by execFile when the command fails. * `code` can be a number (exit code) or string (spawn error like "ENOENT").
| 22 | * `code` can be a number (exit code) or string (spawn error like "ENOENT"). |
| 23 | */ |
| 24 | interface 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 | |
| 33 | function isExecFileException(error: unknown): error is ExecFileException { |
| 34 | return ( |
nothing calls this directly
no outgoing calls
no test coverage detected