puppeteer/website/versioned_docs/version-19.3.0/api/puppeteer.protocolerror.md

23 lines
759 B
Markdown
Raw Normal View History

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