Skip to content

Commit 9ecae1e

Browse files
committed
docs(configuration): add stats.errorErrors
1 parent c96a077 commit 9ecae1e

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

src/content/configuration/stats.mdx

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -474,6 +474,23 @@ module.exports = {
474474
};
475475
```
476476

477+
### stats.errorErrors
478+
479+
`boolean` `"auto"`
480+
481+
Tells `stats` whether to include the errors array from [`AggregateError`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/AggregateError) instances in the output. It defaults to `true`.
482+
483+
Useful when a single error is composed of multiple underlying errors, providing deeper visibility into grouped error structures.
484+
485+
```javascript
486+
module.exports = {
487+
//...
488+
stats: {
489+
errorErrors: true,
490+
},
491+
};
492+
```
493+
477494
### stats.errorStack
478495

479496
`boolean = true`

0 commit comments

Comments
 (0)