-
Notifications
You must be signed in to change notification settings - Fork 310
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #3171 from cloudflare/yagiz/add-dns-constants
add node:dns constants
- Loading branch information
Showing
6 changed files
with
46 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,6 +13,7 @@ wd_ts_bundle( | |
"*.ts", | ||
"*.js", | ||
"assert/*.ts", | ||
"dns/*.ts", | ||
"stream/*.js", | ||
"path/*.ts", | ||
"util/*.ts", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
import * as errorCodes from 'node-internal:internal_dns_constants'; | ||
|
||
export * from 'node-internal:internal_dns_constants'; | ||
|
||
export default { | ||
...errorCodes, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
export const NODATA = 'ENODATA'; | ||
export const FORMERR = 'EFORMERR'; | ||
export const SERVFAIL = 'ESERVFAIL'; | ||
export const NOTFOUND = 'ENOTFOUND'; | ||
export const NOTIMP = 'ENOTIMP'; | ||
export const REFUSED = 'EREFUSED'; | ||
export const BADQUERY = 'EBADQUERY'; | ||
export const BADNAME = 'EBADNAME'; | ||
export const BADFAMILY = 'EBADFAMILY'; | ||
export const BADRESP = 'EBADRESP'; | ||
export const CONNREFUSED = 'ECONNREFUSED'; | ||
export const TIMEOUT = 'ETIMEOUT'; | ||
export const EOF = 'EOF'; | ||
export const FILE = 'EFILE'; | ||
export const NOMEM = 'ENOMEM'; | ||
export const DESTRUCTION = 'EDESTRUCTION'; | ||
export const BADSTR = 'EBADSTR'; | ||
export const BADFLAGS = 'EBADFLAGS'; | ||
export const NONAME = 'ENONAME'; | ||
export const BADHINTS = 'EBADHINTS'; | ||
export const NOTINITIALIZED = 'ENOTINITIALIZED'; | ||
export const LOADIPHLPAPI = 'ELOADIPHLPAPI'; | ||
export const ADDRGETNETWORKPARAMS = 'EADDRGETNETWORKPARAMS'; | ||
export const CANCELLED = 'ECANCELLED'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters