node/test/message/error_aggregateTwoErrors.out
Geoffrey Booth fc47d58abe
test: remove cjs loader from stack traces
PR-URL: https://github.com/nodejs/node/pull/44197
Backport-PR-URL: https://github.com/nodejs/node/pull/46535
Reviewed-By: Moshe Atlow <moshe@atlow.co.il>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
2023-03-27 11:19:02 +01:00

16 lines
399 B
Text

*error_aggregateTwoErrors.js:*
throw aggregateTwoErrors(err, originalError);
^
[AggregateError: original] {
code: 'ERR0',
[errors]: [
Error: original
at Object.<anonymous> (*test*message*error_aggregateTwoErrors.js:*:*) {
code: 'ERR0'
},
Error: second error
at Object.<anonymous> (*test*message*error_aggregateTwoErrors.js:*:*) {
code: 'ERR1'
}
]
}