puppeteer/website/versioned_docs/version-22.6.3/api/puppeteer.protocolerror.md
release-please[bot] a63b8305ac
chore: release main (#12190)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2024-04-05 13:11:52 +00:00

67 lines
628 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>
code
</td><td>
`readonly`
</td><td>
number \| undefined
</td><td>
</td></tr>
<tr><td>
originalMessage
</td><td>
`readonly`
</td><td>
string
</td><td>
</td></tr>
</tbody></table>