error.errno
error.errno
属性是一个负数,对应 libuv 错误处理
中定义的错误码。
在 Windows 上,系统提供的错误码由 libuv 进行规范化。
要获取错误码的字符串表示形式,则使用 util.getSystemErrorName(error.errno)
。
The error.errno
property is a negative number which corresponds
to the error code defined in libuv Error handling
.
On Windows the error number provided by the system will be normalized by libuv.
To get the string representation of the error code, use
util.getSystemErrorName(error.errno)
.