A Playwright error other than a timeout, closed target or abort.
Port of JS Error thrown by Playwright (packages/playwright-core/src/client/errors.ts).
Playwright.TimeoutError, Playwright.TargetClosedError and Playwright.AbortError have
the same fields. They keep their JS names:
message- JS's message: the API name, the error, then the call log ("locator.click: Timeout 100ms exceeded. Call log: ...").name- the JS error name:"Error"unless the driver sends another.log- the call log, a list of lines.details- the error details the protocol declares for the call (a map), elsenil.stack- the driver's JS stack trace (""for errors of the client).code- a system error code ("ECONNREFUSED"), elsenil.cause- the error behind this one, elsenil: theFile.Errorof a storage-state file that can't be read, the reason given toPlaywright.AbortController.abort/2.