2022-08-06 14:49:20 +00:00
|
|
|
---
|
|
|
|
sidebar_label: ProtocolError
|
|
|
|
---
|
|
|
|
|
|
|
|
# ProtocolError class
|
|
|
|
|
|
|
|
ProtocolError is emitted whenever there is an error from the protocol.
|
|
|
|
|
2022-10-24 14:31:12 +00:00
|
|
|
#### Signature:
|
2022-08-06 14:49:20 +00:00
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare class ProtocolError extends CustomError
|
|
|
|
```
|
|
|
|
|
|
|
|
**Extends:** [CustomError](./puppeteer.customerror.md)
|
|
|
|
|
|
|
|
## Properties
|
|
|
|
|
2023-03-10 11:47:17 +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 | |
|