Files
node/lib
Anton Paras d3ac18a176 lib: migrate _http_outgoing.js's remaining errors
A couple of lib/_http_outgoing.js's errors were still in the
"old style": `throw new Error(<some message here>)`.

This commit migrates those 2 old style errors to the "new style":
internal/errors.js's error-system.

In the future, changes to these errors' messages won't break
semver-major status. With the old style, changes to these errors'
messages broke semver-major status. It was inconvenient.

Refs: https://github.com/nodejs/node/issues/17709
PR-URL: https://github.com/nodejs/node/pull/17837
Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2017-12-28 03:17:37 +08:00
..
2017-12-21 03:01:02 -03:00
2017-12-13 09:33:27 -05:00
2017-12-24 14:09:29 +08:00
2017-12-28 03:08:25 +08:00
2017-08-28 00:39:42 +04:00
2017-11-29 14:16:43 -08:00
2017-12-24 02:16:44 +08:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-12-01 20:44:52 +01:00
2017-11-14 17:31:26 -05:00
2017-12-21 03:45:26 -03:00
2017-12-13 06:23:23 +01:00