# `Playwright.AggregateError`
[🔗](https://github.com/ftes/playwright_ex/blob/v1.65.0-rc.3/lib/playwright/aggregate_error.ex#L1)

Every promise of `Playwright.Promise.any/1` was rejected. As JS's `AggregateError`, `errors`
lists the rejections in input order (`[]` for `any([])`). `Playwright.Promise.await/1` returns
it when each of them is a `t:Playwright.error/0`, and raises it otherwise.

# `t`

```elixir
@type t() :: %Playwright.AggregateError{
  __exception__: term(),
  errors: [term()],
  message: String.t()
}
```

See the module docs for the fields.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
