---
sidebar_label: ProtocolError
---

# ProtocolError class

ProtocolError is emitted whenever there is an error from the protocol.

#### Signature:

```typescript
export declare class ProtocolError extends PuppeteerError
```

**Extends:** [PuppeteerError](./puppeteer.puppeteererror.md)

## Properties

<table><thead><tr><th>

Property

</th><th>

Modifiers

</th><th>

Type

</th><th>

Description

</th></tr></thead>
<tbody><tr><td>

code

</td><td>

`readonly`

</td><td>

number \| undefined

</td><td>

</td></tr>
<tr><td>

originalMessage

</td><td>

`readonly`

</td><td>

string

</td><td>

</td></tr>
</tbody></table>