SandboxPathNotFoundError
Defined in: src/sandbox/errors.ts:40
Thrown by Sandbox.listFiles and Sandbox.readFile when the path does not exist, distinguishing
genuine absence from permission failures (SandboxPermissionError from readFile) and transport failures
(plain errors).
code is 'ENOENT', so checks written for Node fs errors also match it.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new SandboxPathNotFoundError(path, options?): SandboxPathNotFoundError;Defined in: src/sandbox/errors.ts:43
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
path | string |
options? | ErrorOptions |
Returns
Section titled “Returns”SandboxPathNotFoundError
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”readonly code: "ENOENT" = 'ENOENT';Defined in: src/sandbox/errors.ts:41