-
Notifications
You must be signed in to change notification settings - Fork 29.6k
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
lib: port remaining errors to new system #19137
Conversation
04b55eb
to
8280260
Compare
This is now ready. |
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 with my comment addressed.
test/parallel/test-crypto-dh.js
Outdated
@@ -248,7 +248,7 @@ if (availableCurves.has('prime256v1') && availableCurves.has('secp256k1')) { | |||
() => ecdh2.computeSecret(key3, 'latin1', 'buffer'), | |||
{ | |||
code: 'ERR_CRYPTO_ECDH_INVALID_PUBLIC_KEY', | |||
type: Error, | |||
type: TypeError, |
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.
Seems like I made a mistake here. I think this should stay as Error
.
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.
You are right. I fixed it.
8280260
to
7346190
Compare
If all errors got ported to the new system |
@BridgeAR yes, I'm working on a follow-up PR to remove dead code from |
@targos seems like a require statement is missing. |
7346190
to
73c3b0a
Compare
Fixed. It was a new error that came with the rebase. Edit: Windows rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/16238/ |
PR-URL: #19137 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Landed in 1d2fd8b |
PR-URL: nodejs#19137 Reviewed-By: Anatoli Papirovski <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Joyee Cheung <[email protected]>
Checklist
make -j4 test
(UNIX), orvcbuild test
(Windows) passes