Files
node/lib
Ruben Bridgewater d47b6786c9 assert: wrap validation function errors
This makes sure that validation function used by `assert.throws` and
`assert.rejects` always throw validatin errors instead of rethrowing
the received error.

That should improve the debugging experience for developers since
they have a better context where the error is coming from and they
also get to know what triggered it.

PR-URL: https://github.com/nodejs/node/pull/28263
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-10-01 22:55:11 +02:00
..
2019-09-20 20:18:35 +02:00
2019-08-23 13:59:07 -07:00
2019-09-18 17:04:55 -07:00
2019-09-12 14:58:25 +02:00