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