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.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SandboxTimeoutError( seconds, stdout?, stderr?): SandboxTimeoutError;Defined in: src/sandbox/errors.ts:14
Parameters
Section titled “Parameters”| Parameter | Type | Default value |
|---|---|---|
seconds | number | undefined |
stdout | string | '' |
stderr | string | '' |
Returns
Section titled “Returns”SandboxTimeoutError
Overrides
Section titled “Overrides”Error.constructorProperties
Section titled “Properties”stdout
Section titled “stdout”readonly stdout: string = '';Defined in: src/sandbox/errors.ts:16
stderr
Section titled “stderr”readonly stderr: string = '';Defined in: src/sandbox/errors.ts:17