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
|
|
|
|
|
2023-03-09 08:22:09 +00:00
|
|
|
| Property | Modifiers | Type | Description |
|
|
|
|
| --------------------------------------------------------------- | --------------------- | ------------------- | ----------- |
|
|
|
|
| [code](./puppeteer.protocolerror.code.md) | <code>readonly</code> | number \| undefined | |
|
|
|
|
| [originalMessage](./puppeteer.protocolerror.originalmessage.md) | <code>readonly</code> | string | |
|