API reference › @evolu/common › Fs › FsError
Defined in: packages/common/src/Fs.ts:396
A failed file system operation.
Extends
Typed<"FsError">
Properties
destination?
readonly optional destination?: string;
Defined in: packages/common/src/Fs.ts:409
Destination for copying and renaming, with URL inputs represented by
href.
message
readonly message: string;
Defined in: packages/common/src/Fs.ts:413
The platform's diagnostic message.
path
readonly path: string;
Defined in: packages/common/src/Fs.ts:404
The operation's path, or source for copying and renaming. URL inputs use
their href. Temporary directories use the supplied parent if its
resolution fails, or the resolved parent combined with the name prefix if
creation fails.
reason
readonly reason: FsErrorReason;
Defined in: packages/common/src/Fs.ts:397
syscall
readonly syscall: string;
Defined in: packages/common/src/Fs.ts:411
The failing system call, or the method name when the platform reports none.
type
readonly type: "FsError";
Defined in: packages/common/src/Type.ts:14201