Skip to content

Commit

Permalink
print details for AggregateErrors
Browse files Browse the repository at this point in the history
This also cleans up the 'Error.cause' reporting a bit.

AggregateError.errors are displayed indented, to make it clear that it's an
array of Error objects.

Re: #1000
  • Loading branch information
isaacs committed May 21, 2024
1 parent c7ed3c5 commit 585304f
Show file tree
Hide file tree
Showing 19 changed files with 487 additions and 43 deletions.
2 changes: 1 addition & 1 deletion src/core/dist/commonjs/clean-yaml-object.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 25 additions & 5 deletions src/core/dist/commonjs/clean-yaml-object.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/dist/commonjs/clean-yaml-object.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/core/dist/commonjs/extra-from-error.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion src/core/dist/commonjs/extra-from-error.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/dist/commonjs/extra-from-error.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/core/dist/esm/clean-yaml-object.d.ts.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

30 changes: 25 additions & 5 deletions src/core/dist/esm/clean-yaml-object.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 585304f

Please sign in to comment.