Back to Puppeteer

ProtocolError class

docs/api/puppeteer.protocolerror.md

19.2.2644 B
Original Source

ProtocolError class

ProtocolError is emitted whenever there is an error from the protocol.

Signature

typescript
export declare class ProtocolError extends PuppeteerError

Extends: PuppeteerError

Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead> <tbody><tr><td>

<span id="code">code</span>

</td><td>

readonly

</td><td>

number | undefined

</td><td> </td></tr> <tr><td>

<span id="originalmessage">originalMessage</span>

</td><td>

readonly

</td><td>

string

</td><td> </td></tr> </tbody></table>