diff options
author | John Vilk <jvilk@cs.umass.edu> | 2016-10-10 12:28:49 -0400 |
---|---|---|
committer | Luigi Pinca <luigipinca@gmail.com> | 2016-10-16 20:43:21 +0200 |
commit | f478b46a00cfe6f631fd85012ba2896a9e8bf5db (patch) | |
tree | 0d36cb1d4b1933e0aa136507a20d84b3e496db83 /lib/console.js | |
parent | f7842ad1698984e978bc414bc359cb5268b953d9 (diff) | |
download | node-new-f478b46a00cfe6f631fd85012ba2896a9e8bf5db.tar.gz |
doc: specify that errno is a number, not a string
The documentation erroneously described the errno property as an alias
for the code property, but that is not the case in the implementation.
errno is the error code of the error as a number, and code is the error
code of the error as a string.
PR-URL: https://github.com/nodejs/node/pull/9007
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Gibson Fahnestock <gibfahn@gmail.com>
Diffstat (limited to 'lib/console.js')
0 files changed, 0 insertions, 0 deletions