mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04:00
97954003cc
Adds error event dispatching for queueMicrotask(). Consequently unhandled errors are now reported with Deno.core.terminate(), which is immune to the existing quirk with plainly thrown errors (#14158).
15 lines
363 B
Text
15 lines
363 B
Text
1
|
|
{
|
|
cancelable: true,
|
|
message: "Uncaught Error: foo",
|
|
filename: "[WILDCARD]/queue_microtask_error_handled.ts",
|
|
lineno: 18,
|
|
colno: 9,
|
|
error: Error: foo
|
|
at [WILDCARD]/queue_microtask_error_handled.ts:18:9
|
|
at deno:core/[WILDCARD]
|
|
}
|
|
onerror() called Error: foo
|
|
at [WILDCARD]/queue_microtask_error_handled.ts:18:9
|
|
at deno:core/[WILDCARD]
|
|
2
|