Skip to content

Glossary: JavaScript Beyond the Basics

AggregateError

A built-in error that holds an array of other errors in its `errors` property. It lets you report every problem with a form at once, and `Promise.any` uses it when every promise rejects.

Where the book teaches it

Related terms

Promise.all / allSettled / race / anyGuard clause