summaryrefslogtreecommitdiff
path: root/doc/api/errors.md
diff options
context:
space:
mode:
authorcjihrig <cjihrig@gmail.com>2019-03-07 09:13:40 -0500
committercjihrig <cjihrig@gmail.com>2019-03-10 15:50:16 -0400
commit31947449e30a8bc46ebf94d426ad09b9ad718b40 (patch)
treee9d7f63e5ba5450f09668aac38cdb1ce0f2d4518 /doc/api/errors.md
parentfb54968ce3f76a057c72783a7a0e4a24c492e124 (diff)
downloadandroid-node-v8-31947449e30a8bc46ebf94d426ad09b9ad718b40.tar.gz
android-node-v8-31947449e30a8bc46ebf94d426ad09b9ad718b40.tar.bz2
android-node-v8-31947449e30a8bc46ebf94d426ad09b9ad718b40.zip
doc: document fake ENOTFOUND as a system error
PR-URL: https://github.com/nodejs/node/pull/26495 Fixes: https://github.com/nodejs/node/issues/26484 Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
Diffstat (limited to 'doc/api/errors.md')
-rw-r--r--doc/api/errors.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/api/errors.md b/doc/api/errors.md
index 55ec282671..ebe7de64a2 100644
--- a/doc/api/errors.md
+++ b/doc/api/errors.md
@@ -573,6 +573,9 @@ program. For a comprehensive list, see the [`errno`(3) man page][].
- `ENOTEMPTY` (Directory not empty): A directory with entries was the target
of an operation that requires an empty directory — usually [`fs.unlink`][].
+- `ENOTFOUND` (DNS lookup failed): Indicates a DNS failure of either
+ `EAI_NODATA` or `EAI_NONAME`. This is not a standard POSIX error.
+
- `EPERM` (Operation not permitted): An attempt was made to perform an
operation that requires elevated privileges.