Repository navigation
Conversation
Remove ERR_INDEX_OUT_OF_RANGE in favor of ERR_OUT_OF_RANGE which is capable of providing more detail. (In one instance, use ERR_BUFFER_OUT_OF_BOUNDS which is more accurate in that one instance.)
| triggerAsyncId1, | ||
| 'Async resources having different causal ancestry ' + | ||
| 'should have different triggerAsyncIds'); | ||
| triggerAsyncId1); |
There was a problem hiding this comment.
Nit: this should now fit on a single line.
|
Removed one of the three error message checks. It's for a message that originates in C++ and appears to vary based on OS. The error code and type are still checked. And there are still two other message checks. |
|
A few test-crypto-keygen failures. Known flaky with a fix being fast-tracked right now. Resume Build: https://ci.nodejs.org/job/node-test-pull-request/17347/ |
|
Windows fanned Resume Build: https://ci.nodejs.org/job/node-test-commit-windows-fanned/20904/ |
|
Windows Rebuild: https://ci.nodejs.org/job/node-test-commit-windows-fanned/20909/ βοΈ |
|
Landed in f8d6991 |
Remove ERR_INDEX_OUT_OF_RANGE in favor of ERR_OUT_OF_RANGE which is capable of providing more detail. (In one instance, use ERR_BUFFER_OUT_OF_BOUNDS which is more accurate in that one instance.) PR-URL: nodejs#22969 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Joyee Cheung <joyeec9h3@gmail.com> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Weijia Wang <starkwang@126.com>
Remove ERR_INDEX_OUT_OF_RANGE in favor of ERR_OUT_OF_RANGE which is
capable of providing more detail. (In one instance, use
ERR_BUFFER_OUT_OF_BOUNDS which is more accurate in that one instance.)
Updated variable names to match documentation and error messages.
Updated some test cases to only check the error code and type and not the error message which should be subject to change.
h/t @apapirovski for help with troubleshooting C++ compilation errors because...yeah, that's not my strong suit
Labeling
semver-majorbecause error code changes are breaking changes. @nodejs/tscChecklist
make -j4 test(UNIX), orvcbuild test(Windows) passes