From 36f84d563ac9512b19ad17006900bb9307e5fe44 Mon Sep 17 00:00:00 2001 From: Samuel Elliott Date: Sat, 25 Mar 2023 23:10:14 +0000 Subject: [PATCH] Add ENETUNREACH as a temporary error --- src/util/errors.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/errors.ts b/src/util/errors.ts index f944abf..c845829 100644 --- a/src/util/errors.ts +++ b/src/util/errors.ts @@ -12,6 +12,7 @@ export const temporary_system_errors = { 'ENOTFOUND': null, 'EAI_AGAIN': 'name resolution failed', 'ECONNRESET': 'connection reset', + 'ENETUNREACH': 'network unreachable', }; export const temporary_http_errors = [ 502, // Bad Gateway