--- 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> <span id="code">code</span> </td><td> `readonly` </td><td> number \| undefined </td><td> </td></tr> <tr><td> <span id="originalmessage">originalMessage</span> </td><td> `readonly` </td><td> string </td><td> </td></tr> </tbody></table>