import {FsError} from '@fuzdev/gro/fs_error.js'; The error every fs op throws, typed by kind.
Its message is exactly kind: path, and what the OS or the module said of the failure, when there is more to say, is its cause.
Match it with is_fs_error, which also recognizes one from another copy of Gro.
The class and its prototype are frozen.
inheritance
Errorname
type string
kind
type FsErrorKind
path
The absolute path the op targeted, or for outside_root the path as requested.
type string
constructor
type new (kind: FsErrorKind, path: string, options?: ErrorOptions | undefined): FsError
kind
path
stringoptions?
ErrorOptions