1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-30 16:40:57 -05:00
denoland-deno/tests/testdata/run/error_cause.ts.out

14 lines
560 B
Text
Raw Normal View History

error: Uncaught (in promise) Error: foo
throw new Error("foo", { cause: new Error("bar", { cause: "deno" as any }) });
^
at a (file:///[WILDCARD]/error_cause.ts:3:9)
at b (file:///[WILDCARD]/error_cause.ts:7:3)
at c (file:///[WILDCARD]/error_cause.ts:11:3)
at file:///[WILDCARD]/error_cause.ts:14:1
Caused by: Error: bar
at a (file:///[WILDCARD]/error_cause.ts:3:35)
at b (file:///[WILDCARD]/error_cause.ts:7:3)
at c (file:///[WILDCARD]/error_cause.ts:11:3)
at file:///[WILDCARD]/error_cause.ts:14:1
Caused by: "deno"