2022-07-05 13:41:43 +00:00
|
|
|
---
|
|
|
|
sidebar_label: ProtocolError
|
|
|
|
---
|
|
|
|
|
|
|
|
# ProtocolError class
|
|
|
|
|
|
|
|
ProtocolError is emitted whenever there is an error from the protocol.
|
|
|
|
|
2022-10-24 07:07:05 +00:00
|
|
|
#### Signature:
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
```typescript
|
2024-02-02 12:15:20 +00:00
|
|
|
export declare class ProtocolError extends PuppeteerError
|
2022-07-05 13:41:43 +00:00
|
|
|
```
|
|
|
|
|
2024-02-02 12:15:20 +00:00
|
|
|
**Extends:** [PuppeteerError](./puppeteer.puppeteererror.md)
|
2022-07-05 13:41:43 +00:00
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2024-03-20 15:03:14 +00:00
|
|
|
<table><thead><tr><th>
|
|
|
|
|
|
|
|
Property
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Modifiers
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Description
|
|
|
|
|
|
|
|
</th></tr></thead>
|
|
|
|
<tbody><tr><td>
|
|
|
|
|
2024-04-11 11:01:13 +00:00
|
|
|
<span id="code">code</span>
|
2024-03-20 15:03:14 +00:00
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
`readonly`
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
number \| undefined
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
|
2024-04-11 11:01:13 +00:00
|
|
|
<span id="originalmessage">originalMessage</span>
|
2024-03-20 15:03:14 +00:00
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
`readonly`
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
string
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
</tbody></table>
|