Function: fsErrorOf()
Documentation / @wtf/platform-fs / errors / fsErrorOf
function fsErrorOf(error, __namedParameters): PlatformError;Defined in: packages/platform-fs/src/errors.ts:96
What a library raises of what a handle threw: a SystemError of the reason of its name, by
REASONS, of method and path, with the handle’s error as its cause; a BadArgument
of a TypeError, RangeError or SyntaxError, of a name that is none, or an argument that is
none; a PlatformError as it is; and a SystemError of the reason Unknown of anything else.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
__namedParameters | FsErrorPlace |
