2023-03-29 11:22:11 +00:00
|
|
|
---
|
|
|
|
sidebar_label: ProtocolError
|
|
|
|
---
|
|
|
|
|
|
|
|
# ProtocolError class
|
|
|
|
|
|
|
|
ProtocolError is emitted whenever there is an error from the protocol.
|
|
|
|
|
|
|
|
#### Signature:
|
|
|
|
|
|
|
|
```typescript
|
2024-02-05 10:22:00 +00:00
|
|
|
export declare class ProtocolError extends PuppeteerError
|
2023-03-29 11:22:11 +00:00
|
|
|
```
|
|
|
|
|
2024-02-05 10:22:00 +00:00
|
|
|
**Extends:** [PuppeteerError](./puppeteer.puppeteererror.md)
|
2023-03-29 11:22:11 +00:00
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --------------- | --------------------- | ------------------- | ----------- |
|
|
|
|
| code | <code>readonly</code> | number \| undefined | |
|
|
|
|
| originalMessage | <code>readonly</code> | string | |
|