(error: unknown): FsError import {fs_classify_error} from '@fuzdev/fuz_util/fs.js'; Classifies a thrown filesystem error into a discriminated FsError.
Reads the Node code property (ENOENT/EACCES/EPERM/EEXIST) — Deno
surfaces the same codes when throwing from node:fs/promises. Unknown codes
fall through to io_error.
error
unknownreturns
FsError