Add ENETUNREACH as a temporary error

This commit is contained in:
Samuel Elliott
2023-03-25 23:10:14 +00:00
parent bb093d6b22
commit 36f84d563a

View File

@@ -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