diff options
author | cjihrig <cjihrig@gmail.com> | 2018-11-07 12:36:57 -0500 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-07 10:22:08 -0800 |
commit | 12c0fd4c9a0946dc821029738b80fd1998064125 (patch) | |
tree | fa56af3df56694f9b3f9f51a913d93da5fd0b1ec /doc | |
parent | 7c64133760528aed0dd9e7781056e6a5ea266a69 (diff) | |
download | android-node-v8-12c0fd4c9a0946dc821029738b80fd1998064125.tar.gz android-node-v8-12c0fd4c9a0946dc821029738b80fd1998064125.tar.bz2 android-node-v8-12c0fd4c9a0946dc821029738b80fd1998064125.zip |
doc: fix linting errors
PR-URL: https://github.com/nodejs/node/pull/24229
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/errors.md | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md index 575f77861f..82c4e790e6 100644 --- a/doc/api/errors.md +++ b/doc/api/errors.md @@ -260,7 +260,10 @@ not capture any frames. * {string} The `error.code` property is a string label that identifies the kind of error. -`error.code` is the most stable way to identify an error. It will only change between major versions of Node.js. In contrast, `error.message` strings may change between any versions of Node.js. See [Node.js Error Codes][] for details about specific codes. +`error.code` is the most stable way to identify an error. It will only change +between major versions of Node.js. In contrast, `error.message` strings may +change between any versions of Node.js. See [Node.js Error Codes][] for details +about specific codes. ### error.message @@ -489,7 +492,8 @@ system error. * {string|number} -The `error.errno` property is a number or a string. If it is a number, it is a negative value which corresponds to the error code defined in +The `error.errno` property is a number or a string. If it is a number, it is a +negative value 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. In case of a string, it is the same as `error.code`. |