Function: codeOf()
Documentation / @wtf/platform-fs-adapter / errors / codeOf
function codeOf(error): string | undefined;Defined in: packages/platform-fs-adapter/src/errors.ts:50
The code of a failure of Node’s file system, as ENOENT; none of another error.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
string | undefined
