Rush StackShopBlogEvents
Skip to main content

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

ParameterTypeDescription
errorError

Returns:

boolean