summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/error_cause.ts.out
blob: 0f32b1bddb694d045dd797e72760199879ea0b7e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[WILDCARD]
error: Uncaught 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: Uncaught Error: bar
  throw new Error("foo", { cause: new Error("bar", { cause: "deno" as any }) });
                                  ^
    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: Uncaught deno
[WILDCARD]