errors socket_list : Migrate errors to internal/errors.js#11356
errors socket_list : Migrate errors to internal/errors.js#11356bougarfaoui wants to merge 3 commits intonodejs:masterfrom
Conversation
lib/internal/socket_list.js
Outdated
There was a problem hiding this comment.
Please use the naming pattern ERR_***
|
@jasnell requested changes are done. |
lib/internal/errors.js
Outdated
There was a problem hiding this comment.
nit: running make lint should complain on this. There needs to be a single space after the comma before 'Slave...
lib/internal/socket_list.js
Outdated
There was a problem hiding this comment.
Are there other PR documenting this error code? Otherwise this needs a documentation.
|
@bougarfaoui Do you want to take a stab at addressing the comments? Thanks! |
|
I'm closing this because it's been inactive for quite a while. Feel free to reopen or ping a collaborator to get it reopened if needed. |
|
I'm following up |
7cc85e2 to
892ff1c
Compare
892ff1c to
e4f04f5
Compare
e4f04f5 to
71cb153
Compare
|
@joyeecheung @fhinkel PTAL ( @Trott ? ) |
doc/api/errors.md
Outdated
| <a id="ERR_CHILD_CLOSED_BEFORE_REPLY"></a> | ||
| ### ERR_CHILD_CLOSED_BEFORE_REPLY | ||
|
|
||
| Used when a child process is closed before the parent got a replay. |
There was a problem hiding this comment.
Typo: replay -> reply
Micronit: got -> received
Trott
left a comment
There was a problem hiding this comment.
If CI is green, LGTM once typo is corrected.
PR-URL: nodejs#11356 Refs: nodejs#11273 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Rich Trott <rtrott@gmail.com>
|
Landed in a03d8ce |
Ref: #11273
Semver-major because this updates specific error messages and converts errors over to use the new internal/errors.js mechanism.
cc @jasnell
Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passesAffected core subsystem(s)
errors, socket_list