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
|
|
|
|
|
2023-03-28 18:02:00 +00:00
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --------------- | --------------------- | ------------------- | ----------- |
|
|
|
|
| code | <code>readonly</code> | number \| undefined | |
|
|
|
|
| originalMessage | <code>readonly</code> | string | |
|