Skip to content

Commit 361fad1

Browse files
authored
chore: add network/host unreachable error codes
1 parent 3d03f72 commit 361fad1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/service-error-classification/src/constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ export const NODEJS_TIMEOUT_ERROR_CODES = ["ECONNRESET", "ECONNREFUSED", "EPIPE"
5454
/**
5555
* Node.js system error codes that indicate network error.
5656
*/
57-
export const NODEJS_NETWORK_ERROR_CODES = ["ENOTFOUND"];
57+
export const NODEJS_NETWORK_ERROR_CODES = ["EHOSTUNREACH", "ENETUNREACH", "ENOTFOUND"];

0 commit comments

Comments
 (0)