Playwright.AggregateError exception (Playwright v1.65.0-rc.3)

Copy Markdown View Source

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 Playwright.error/0, and raises it otherwise.

Summary

Types

t()

See the module docs for the fields.

Types

t()

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

See the module docs for the fields.