mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 23:34:47 -05:00
9853c96cc4
This commit: - removes "fmt_errors::PrettyJsError" in favor of "format_js_error" fn - removes "deno_core::JsError::create" and "deno_core::RuntimeOptions::js_error_create_fn" - adds new option to "deno_runtime::ops::worker_host::init"
13 lines
330 B
Text
13 lines
330 B
Text
error: Uncaught (in worker "") Error: foo
|
|
throw new Error("foo");
|
|
^
|
|
at foo ([WILDCARD]/error.ts:2:9)
|
|
at [WILDCARD]/error.ts:5:1
|
|
{
|
|
message: "Uncaught Error: foo",
|
|
filename: "[WILDCARD]/error.ts",
|
|
lineno: 2,
|
|
colno: 9
|
|
}
|
|
error: Uncaught (in promise) Error: Unhandled error in child worker.
|
|
at [WILDCARD]
|