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
|
|
|
|
export declare class ProtocolError extends CustomError
|
|
|
|
```
|
|
|
|
|
|
|
|
**Extends:** [CustomError](./puppeteer.customerror.md)
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2022-10-06 14:21:24 +00:00
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --------------------------------------------------------------- | --------- | ------------------- | ----------- |
|
|
|
|
| [code](./puppeteer.protocolerror.code.md) | | number \| undefined | |
|
|
|
|
| [originalMessage](./puppeteer.protocolerror.originalmessage.md) | | string | |
|