Function: nameOf()
Documentation / @wtf/platform-fs / errors / nameOf
function nameOf(error): string | undefined;Defined in: packages/platform-fs/src/errors.ts:66
The name an error has, as a DOMException’s NotFoundError, or none.
Parameters
| Parameter | Type |
|---|---|
error | unknown |
Returns
string | undefined
