Home > @rushstack/node-core-library > FileSystem > isNotExistError
FileSystem.isNotExistError() method
Returns true if the error object indicates the file or folder does not exist (ENOENT or ENOTDIR)
Signature:
static isNotExistError(error: Error): boolean;
Parameters
| Parameter | Type | Description |
|---|---|---|
| error | Error |
Returns:
boolean