isNodeErrorWithCode
isNodeErrorWithCode(
value,code):boolean
Defined in: packages/node/src/error/node-error.ts:30
Test if value is Node Error-like and has the specified code
Parameters
Section titled “Parameters”unknown
The value to test
string
The error code to match
Returns
Section titled “Returns”boolean
True if the value is Node Error-like and has the specified code