2021-12-29 13:34:13 -05:00
|
|
|
[WILDCARD]
|
|
|
|
error: Uncaught Error: foo
|
2022-03-01 15:44:43 -05:00
|
|
|
throw new Error("foo", { cause: new Error("bar", { cause: "deno" as any }) });
|
2021-12-29 13:34:13 -05:00
|
|
|
^
|
2022-03-01 15:44:43 -05:00
|
|
|
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
|
2021-12-29 13:34:13 -05:00
|
|
|
Caused by: Uncaught Error: bar
|
2022-03-01 15:44:43 -05:00
|
|
|
throw new Error("foo", { cause: new Error("bar", { cause: "deno" as any }) });
|
2021-12-29 13:34:13 -05:00
|
|
|
^
|
2022-03-01 15:44:43 -05:00
|
|
|
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
|
2021-12-29 13:34:13 -05:00
|
|
|
Caused by: Uncaught deno
|
|
|
|
[WILDCARD]
|