File tree 1 file changed +2
-2
lines changed
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
168
168
properties ` address ` and ` family ` .
169
169
170
170
On 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
172
172
the hostname does not exist but also when the lookup fails in other ways
173
173
such as no available file descriptors.
174
174
@@ -692,7 +692,7 @@ being an array of objects with the properties `address` and `family`.
692
692
693
693
On error, the ` Promise ` is rejected with an [ ` Error ` ] [ ] object, where ` err.code `
694
694
is 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
696
696
the hostname does not exist but also when the lookup fails in other ways
697
697
such as no available file descriptors.
698
698
You can’t perform that action at this time.
0 commit comments