You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: doc/api/errors.md
+6-2
Original file line number
Diff line number
Diff line change
@@ -260,7 +260,10 @@ not capture any frames.
260
260
* {string}
261
261
262
262
The `error.code` property is a string label that identifies the kind of error.
263
-
`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.
263
+
`error.code` is the most stable way to identify an error. It will only change
264
+
between major versions of Node.js. In contrast, `error.message` strings may
265
+
change between any versions of Node.js. See [Node.js Error Codes][] for details
266
+
about specific codes.
264
267
265
268
### error.message
266
269
@@ -489,7 +492,8 @@ system error.
489
492
490
493
* {string|number}
491
494
492
-
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
495
+
The `error.errno` property is a number or a string. If it is a number, it is a
496
+
negative value which corresponds to the error code defined in
493
497
[`libuv Error handling`]. See the libuv `errno.h` header file
494
498
(`deps/uv/include/uv/errno.h` in the Node.js source tree) for details. In case
0 commit comments