Skip to content

SandboxTimeoutError

Defined in: src/sandbox/errors.ts:13

Thrown by sandbox execution when the configured timeout elapses.

stdout and stderr hold whatever the process wrote before it was killed.

  • Error
new SandboxTimeoutError(
seconds,
stdout?,
stderr?
): SandboxTimeoutError;

Defined in: src/sandbox/errors.ts:14

ParameterTypeDefault value
secondsnumberundefined
stdoutstring''
stderrstring''

SandboxTimeoutError

Error.constructor
readonly stdout: string = '';

Defined in: src/sandbox/errors.ts:16


readonly stderr: string = '';

Defined in: src/sandbox/errors.ts:17