Skip to content

Interface: FileSystemError ​

Defined in: types/desktop-engine.d.ts:3439

An error of DesktopEngine.fs, like Node's

Extends ​

  • Error

Properties ​

cause? ​

ts
optional cause?: unknown;

Defined in: docs/node_modules/typescript/lib/lib.es2022.error.d.ts:26

Inherited from ​

ts
Error.cause

code ​

ts
code: string;

Defined in: types/desktop-engine.d.ts:3441

e.g. 'ENOENT' (no such file), 'EEXIST', 'ENOTDIR', 'EISDIR', 'ENOTEMPTY', 'EACCES' (read-only or outside of the sandbox), 'EINVAL' (not a file path)


message ​

ts
message: string;

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1077

Inherited from ​

ts
Error.message

name ​

ts
name: string;

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1076

Inherited from ​

ts
Error.name

path ​

ts
path: string;

Defined in: types/desktop-engine.d.ts:3445

The path as it was given


stack? ​

ts
optional stack?: string;

Defined in: docs/node_modules/typescript/lib/lib.es5.d.ts:1078

Inherited from ​

ts
Error.stack

syscall ​

ts
syscall: string;

Defined in: types/desktop-engine.d.ts:3443

The operation that failed, e.g. 'open'

The SDK is released under the Apache License 2.0