mirror of
https://github.com/denoland/deno.git
synced 2024-10-29 08:58:01 -04:00
9314928990
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.
14 lines
595 B
Text
14 lines
595 B
Text
error: Uncaught (in promise) AggregateError
|
|
Error: bar <ref *1>
|
|
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:2:13
|
|
Caused by: Error: foo
|
|
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:1:13
|
|
Caused by: [Circular *1]
|
|
Error: quux <ref *2>
|
|
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:6:14
|
|
Caused by: Error: qux
|
|
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:5:13
|
|
Caused by: [Circular *2]
|
|
throw new AggregateError([bar, quux]);
|
|
^
|
|
at file:///[WILDCARD]/error_cause_recursive_aggregate.ts:9:7
|