1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/cli/tests/testdata/run/complex_error.ts.out
Matt Mastracci 9314928990
chore: bump deno_core and update tests (#21467)
Landing changes required for
https://github.com/denoland/deno_core/pull/359

We needed to update 99_main.js and a whole load of tests.

API changes:

- setPromiseRejectCallback becomes setUnhandledPromiseRejectionHandler.
The function is now called from eventLoopTick.
- The promiseRejectMacrotaskCallback no longer exists, as this is
automatically handled in eventLoopTick.
- ops.op_dispatch_exception now takes a second parameter: in_promise.
The preferred way to call this op is now reportUnhandledException or
reportUnhandledPromiseRejection.
2023-12-06 17:02:52 -07:00

44 lines
1.4 KiB
Text

AggregateError: foo1
at [WILDCARD]/complex_error.ts:1:15
AggregateError: foo1
AggregateError
Error: qux1
at [WILDCARD]/complex_error.ts:3:25
Error: quux1
at [WILDCARD]/complex_error.ts:3:44
at [WILDCARD]/complex_error.ts:3:5
Error: bar1
at [WILDCARD]/complex_error.ts:4:5
Caused by Error: baz1
at [WILDCARD]/complex_error.ts:4:32
at [WILDCARD]/complex_error.ts:1:15
Caused by AggregateError: foo2
at [WILDCARD]/complex_error.ts:8:12
error: Uncaught (in promise) AggregateError: foo1
AggregateError
Error: qux1
at [WILDCARD]/complex_error.ts:3:25
Error: quux1
at [WILDCARD]/complex_error.ts:3:44
at [WILDCARD]/complex_error.ts:3:5
Error: bar1
at [WILDCARD]/complex_error.ts:4:5
Caused by: Error: baz1
at [WILDCARD]/complex_error.ts:4:32
const error = new AggregateError(
^
at [WILDCARD]/complex_error.ts:1:15
Caused by: AggregateError: foo2
AggregateError
Error: qux2
at [WILDCARD]/complex_error.ts:9:27
Error: quux2
at [WILDCARD]/complex_error.ts:9:46
at [WILDCARD]/complex_error.ts:9:7
Error: bar2
at [WILDCARD]/complex_error.ts:10:7
Caused by: Error: baz2
at [WILDCARD]/complex_error.ts:10:34
at [WILDCARD]/complex_error.ts:8:12