mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
67 lines
685 B
Markdown
67 lines
685 B
Markdown
---
|
|
sidebar_label: ProtocolError
|
|
---
|
|
|
|
# ProtocolError class
|
|
|
|
ProtocolError is emitted whenever there is an error from the protocol.
|
|
|
|
#### Signature:
|
|
|
|
```typescript
|
|
export declare class ProtocolError extends PuppeteerError
|
|
```
|
|
|
|
**Extends:** [PuppeteerError](./puppeteer.puppeteererror.md)
|
|
|
|
## 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>
|