Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
stream: complete migration to internal/errors #16589
Conversation
|
@nodejs/tsc this needs expedite, as we need it for the 9 release. I'm sorry, but I caught these just now. |
|
I think @jasnell wanted to build the binaries ~ now? I’m okay with expediting but maybe we have the time for a CITGM run as well? |
|
One bit but generally lgtm and +1 on fast tracking |
| @@ -284,7 +284,7 @@ function chunkInvalid(state, chunk) { | |||
| typeof chunk !== 'string' && | |||
| chunk !== undefined && | |||
| !state.objectMode) { | |||
| er = new TypeError('Invalid non-string/buffer chunk'); | |||
| er = new errors.TypeError('ERR_STREAM_INVALID_CHUNK'); | |||
jasnell
Oct 29, 2017
Member
Should probably just use ERR_INVALID_ARG_TYPE here
Should probably just use ERR_INVALID_ARG_TYPE here
| } else if (typeof chunk !== 'string' && | ||
| chunk !== undefined && | ||
| !state.objectMode) { | ||
| er = new TypeError('Invalid non-string/buffer chunk'); | ||
| er = new errors.TypeError('ERR_STREAM_INVALID_CHUNK'); |
jasnell
Oct 29, 2017
Member
And here
And here
| <a id="ERR_STREAM_CANNOT_PIPE"></a> | ||
| ### ERR_STREAM_CANNOT_PIPE | ||
|
|
||
| Used when an attempt is made to call [`stream.pipe()`][] on a |
joyeecheung
Oct 29, 2017
Member
Missing link definitions, so are Writable and stream.write()
Missing link definitions, so are Writable and stream.write()
mcollina
Oct 29, 2017
Author
Member
added
added
Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation.
|
I'll be doing one final pull from master this afternoon and will be kicking off the release build later on today. |
|
Landed as 6e86a66 |
Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation. PR-URL: #16589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation. PR-URL: nodejs/node#16589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation. PR-URL: nodejs/node#16589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Complete the migration to the new error system of _stream_readable and _stream_writable. Adds the corresponding documentation. PR-URL: nodejs/node#16589 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Anna Henningsen <anna@addaleax.net> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com>
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
stream