mirror of
https://github.com/denoland/deno.git
synced 2024-12-14 19:37:59 -05: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.
18 lines
617 B
Text
18 lines
617 B
Text
AggregateError: Multiple errors.
|
|
at [WILDCARD]/aggregate_error.ts:1:24
|
|
|
|
AggregateError: Multiple errors.
|
|
Error: Error message 1.
|
|
at [WILDCARD]/aggregate_error.ts:2:3
|
|
Error: Error message 2.
|
|
at [WILDCARD]/aggregate_error.ts:3:3
|
|
at [WILDCARD]/aggregate_error.ts:1:24
|
|
|
|
error: Uncaught (in promise) AggregateError: Multiple errors.
|
|
Error: Error message 1.
|
|
at [WILDCARD]/aggregate_error.ts:2:3
|
|
Error: Error message 2.
|
|
at [WILDCARD]/aggregate_error.ts:3:3
|
|
const aggregateError = new AggregateError([
|
|
^
|
|
at [WILDCARD]/aggregate_error.ts:1:24
|