From 94ebd78015a0e2007145183522453f779c0c1d02 Mon Sep 17 00:00:00 2001 From: Bob McElrath Date: Wed, 30 Nov 2016 14:03:50 -0500 Subject: [PATCH] Add error -104 ECONNRESET to uv mapping --- index.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 20d4155..d922764 100644 --- a/index.js +++ b/index.js @@ -1142,9 +1142,10 @@ var errorChromeToUv = { '-138': 'EACCES', '-147': 'EADDRINUSE', '-108': 'EADDRNOTAVAIL', + '-104': 'ECONNRESET', '-103': 'ECONNABORTED', - '-102': 'ECONNREFUSED', - '-101': 'ECONNRESET', + '-102': 'ENETRESET', + '-101': 'ENETUNREACH', '-16': 'EEXIST', '-8': 'EFBIG', '-109': 'EHOSTUNREACH',