ProtocolError 类
🌐 ProtocolError class
每当协议出现错误时就会触发 ProtocolError。
🌐 ProtocolError is emitted whenever there is an error from the protocol.
语法
🌐 Signature
export declare class ProtocolError extends PuppeteerError
继承自: PuppeteerError
属性
🌐 Properties
属性 🌐 Property | 修饰符 🌐 Modifiers | 类型 🌐 Type | 描述 🌐 Description |
|---|---|---|---|
| code |
| 数字 | 未定义 🌐 number | undefined | |
| originalMessage |
| string |