Home > @rushstack/node-core-library > FileSystem > isErrnoException
FileSystem.isErrnoException() method
Detects if the provided error object is a NodeJS.ErrnoException
Signature:
static isErrnoException(error: Error): error is NodeJS.ErrnoException;
Parameters
Parameter | Type | Description |
---|---|---|
error | Error |
Returns:
error is NodeJS.ErrnoException