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
| Parameter | Type | Description |
|---|---|---|
| error | Error |
Returns:
boolean