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).