error.errno


error.errno 属性是一个负数,对应于 libuv Error handling 中定义的错误代码。

🌐 The error.errno property is a negative number which corresponds to the error code defined in libuv Error handling.

在 Windows 上,系统提供的错误号将由 libuv 规范化。

🌐 On Windows the error number provided by the system will be normalized by libuv.

要获取错误代码的字符串表示形式,请使用 util.getSystemErrorName(error.errno)

🌐 To get the string representation of the error code, use util.getSystemErrorName(error.errno).