Skip to content

errors: create internal connResetException

Rodrigo Muino Tomonari requested to merge github/fork/Trott/resetException into master

Replace various instances of errors that use code ECONNRESET with a single centralized factory function to create the errors.

(While making changes to _tls_wrap.js, this also takes the opportunity to make trailing commas consistent on multi-line arrays. One had a trailing comma and one didn't. This adds a traiiling comma to the one that didn't.)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Merge request reports

Loading