Skip to content

Latest commit

 

History

History
134 lines (105 loc) · 5.49 KB

File metadata and controls

134 lines (105 loc) · 5.49 KB
id class-error
title Error

import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import HTMLCard from '@site/src/components/HTMLCard';

Error is raised whenever certain operations are terminated abnormally, e.g. browser closes while page.evaluate() is running. All Playwright exceptions inherit from this class.


Properties

message {#error-message}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.11error.message

Message of the error.

Usage

error.message

Type


name {#error-name}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.11error.name

Name of the error which got thrown inside the browser. Optional.

Usage

error.name

Type


stack {#error-stack}

<font size="2" style={{position: "relative", top: "-20px"}}>Added in: v1.11error.stack

Stack of the error which got thrown inside the browser. Optional.

Usage

error.stack

Type