File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -168,7 +168,7 @@ With the `all` option set to `true`, the arguments for `callback` change to
168168properties ` address ` and ` family ` .
169169
170170On error, ` err ` is an [ ` Error ` ] [ ] object, where ` err.code ` is the error code.
171- Keep in mind that ` err.code ` will be set to ` 'ENOENT ' ` not only when
171+ Keep in mind that ` err.code ` will be set to ` 'ENOTFOUND ' ` not only when
172172the hostname does not exist but also when the lookup fails in other ways
173173such as no available file descriptors.
174174
@@ -692,7 +692,7 @@ being an array of objects with the properties `address` and `family`.
692692
693693On error, the ` Promise ` is rejected with an [ ` Error ` ] [ ] object, where ` err.code `
694694is the error code.
695- Keep in mind that ` err.code ` will be set to ` 'ENOENT ' ` not only when
695+ Keep in mind that ` err.code ` will be set to ` 'ENOTFOUND ' ` not only when
696696the hostname does not exist but also when the lookup fails in other ways
697697such as no available file descriptors.
698698
You can’t perform that action at this time.
0 commit comments