Rush StackShopBlogEvents
Skip to main content

Home > @rushstack/node-core-library > FileSystem > isUnlinkNotPermittedError

FileSystem.isUnlinkNotPermittedError() method

Returns true if the error object indicates that the unlink system call failed due to a permissions issue (EPERM).

Signature:

static isUnlinkNotPermittedError(error: Error): boolean;

Parameters

ParameterTypeDescription
errorError

Returns:

boolean