-
Notifications
You must be signed in to change notification settings - Fork 29.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
doc: describe API ERR_INVALID_PROTOCOL context #27393
Conversation
b23eac6
to
a56ff6c
Compare
@nodejs/documentation trivial PR, could someone give this a review, please. Note that protocols show up in the node API surface in several places. This error code is unrelated to TLS protocols, for example. The code should probably have had |
@nodejs/collaborators trivial PR, please give it a thumbs up |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. I suppose that (from the end-user perspective) it might also be triggered by http.get()
and friends? Regardless, I wonder if we should remove this entirely in 13.x and replace with ERR_INVALID_OPT_VALUE
.
ERR_INVALID_PROTOCOL docs should describe the API it relates to. See: https://github.com/nodejs/node/pull/27390/files#r278246361
a56ff6c
to
fe3147f
Compare
Landed in dce8806 |
ERR_INVALID_PROTOCOL docs should describe the API it relates to. See: https://github.com/nodejs/node/pull/27390/files#r278246361 PR-URL: #27393 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anto Aravinth <[email protected]>
ERR_INVALID_PROTOCOL docs should describe the API it relates to. See: https://github.com/nodejs/node/pull/27390/files#r278246361 PR-URL: #27393 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Beth Griggs <[email protected]> Reviewed-By: Rich Trott <[email protected]> Reviewed-By: Anna Henningsen <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]> Reviewed-By: Anto Aravinth <[email protected]>
ERR_INVALID_PROTOCOL docs should describe the API it relates to.
See: https://github.com/nodejs/node/pull/27390/files#r278246361
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes