mirror of
https://github.com/denoland/deno.git
synced 2024-11-28 16:20:57 -05:00
17 lines
687 B
Text
17 lines
687 B
Text
|
[WILDCARD]
|
||
|
error: Uncaught Error: foo
|
||
|
throw new Error("foo", { cause: new Error("bar", { cause: "deno" }) });
|
||
|
^
|
||
|
at a (file:///[WILDCARD]/error_cause.ts:2:9)
|
||
|
at b (file:///[WILDCARD]/error_cause.ts:6:3)
|
||
|
at c (file:///[WILDCARD]/error_cause.ts:10:3)
|
||
|
at file:///[WILDCARD]/error_cause.ts:13:1
|
||
|
Caused by: Uncaught Error: bar
|
||
|
throw new Error("foo", { cause: new Error("bar", { cause: "deno" }) });
|
||
|
^
|
||
|
at a (file:///[WILDCARD]/error_cause.ts:2:35)
|
||
|
at b (file:///[WILDCARD]/error_cause.ts:6:3)
|
||
|
at c (file:///[WILDCARD]/error_cause.ts:10:3)
|
||
|
at file:///[WILDCARD]/error_cause.ts:13:1
|
||
|
Caused by: Uncaught deno
|
||
|
[WILDCARD]
|