Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
fixup! lib: correct error.errno to always be numeric
  • Loading branch information
joyeecheung committed Jun 12, 2019
commit 6612645b3806292c770478e85606cd2e31ad65f7
5 changes: 2 additions & 3 deletions doc/api/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -452,9 +452,8 @@ system error.

The `error.errno` property is a negative number which corresponds
to the error code defined in [`libuv Error handling`].
See the libuv `errno.h` header file (`deps/uv/include/uv/errno.h`
in the Node.js source tree) for details. On Windows the error number
provided by the system will be normalized by libuv.

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)`].
Expand Down