Expand description
WebErrorJs — QuickJS binding for
ferridriver::web_error::WebError.
Mirrors Playwright’s client-side WebError class from
/tmp/playwright/packages/playwright-core/src/client/webError.ts
and the public-type contract in
/tmp/playwright/packages/playwright-core/types/types.d.ts:21658 —
error(): Error returning a native JS Error instance (not a
plain object) so instanceof Error holds in script-land. page()
is omitted (symmetric with DownloadJs / FileChooserJs /
ConsoleMessageJs); script-land callers have no need for the
page back-reference.
Structs§
Functions§
- build_
native_ error - Shared helper: construct a native JS
Errorfrom anErrorDetailssnapshot. Reused byWebErrorJs::error(context-scoped) AND byPageJs::waitForEvent('pageerror')(page-scoped, Playwright-parityPromise<Error>).