Rush StackShopBlogEvents
Skip to main content

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

ParameterTypeDescription
errorError

Returns:

error is NodeJS.ErrnoException