File tree Expand file tree Collapse file tree 1 file changed +14
-49
lines changed
Expand file tree Collapse file tree 1 file changed +14
-49
lines changed Original file line number Diff line number Diff line change 11Error: Number error cause
2- at *
3- at *
4- at *
5- at *
6- at *
7- at *
8- at *
9- at * {
2+ at Object.<anonymous> (<project-root>/test/fixtures/util/util-inspect-error-cause.js:14:16)
3+ at <node-internal-frames> {
104 [cause]: 42
115}
126Error: Object cause
13- at *
14- at *
15- at *
16- at *
17- at *
18- at *
19- at *
20- at * {
7+ at Object.<anonymous> (<project-root>/test/fixtures/util/util-inspect-error-cause.js:15:16)
8+ at <node-internal-frames> {
219 [cause]: {
2210 message: 'Unique',
2311 name: 'Error',
2412 stack: 'Error: Unique\n' +
25- ' at Module._compile (node:internal* modules* cjs* loader:*:* )'
13+ ' at Module._compile (node:internal/ modules/ cjs/ loader:827:30 )'
2614 }
2715}
2816Error: undefined cause
29- at *
30- at *
31- at *
32- at *
33- at *
34- at *
35- at *
36- at * {
17+ at Object.<anonymous> (<project-root>/test/fixtures/util/util-inspect-error-cause.js:24:16)
18+ at <node-internal-frames> {
3719 [cause]: undefined
3820}
3921Error: Stack causes
40- at *
41- at *
42- at *
43- at *
44- at *
45- at *
46- at *
47- at * {
22+ at Object.<anonymous> (<project-root>/test/fixtures/util/util-inspect-error-cause.js:12:16)
23+ at <node-internal-frames> {
4824 [cause]: FoobarError: Individual message
49- at *
50- at *
51- at *
52- at *
53- at *
54- at *
55- at *
56- at * {
25+ at Object.<anonymous> (<project-root>/test/fixtures/util/util-inspect-error-cause.js:10:16)
26+ ... 5 lines matching cause stack trace ...
27+ at <node-internal-frames> {
5728 status: 'Feeling good',
5829 extraProperties: 'Yes!',
5930 [cause]: TypeError: Inner error
60- at *
61- at *
62- at *
63- at *
64- at *
65- at *
66- at *
67- at *
31+ at Object.<anonymous> (<project-root>/test/fixtures/util/util-inspect-error-cause.js:9:16)
32+ at <node-internal-frames>
6833 }
6934}
You can’t perform that action at this time.
0 commit comments