Function
createTimeoutError
(
executable: string,
cmd: string,
args: string[],
timeoutMs: number,
exitCode: number,
stdout: string,
stderr: string,
)
Source from the content-addressed store, hash-verified
| 556 | } |
| 557 | |
| 558 | function createTimeoutError( |
| 559 | executable: string, |
| 560 | cmd: string, |
| 561 | args: string[], |
| 562 | timeoutMs: number, |
| 563 | exitCode: number, |
| 564 | stdout: string, |
| 565 | stderr: string, |
| 566 | ): AppError { |
| 567 | return new AppError('COMMAND_FAILED', `${executable} timed out after ${timeoutMs}ms`, { |
| 568 | cmd, |
| 569 | args, |
| 570 | stdout, |
| 571 | stderr, |
| 572 | exitCode, |
| 573 | timeoutMs, |
| 574 | }); |
| 575 | } |
| 576 | |
| 577 | function createExitError( |
| 578 | executable: string, |
Tested by
no test coverage detected