Skip to main content
Version: 23.8.0

PuppeteerError 类

¥PuppeteerError class

所有 Puppeteer 特定错误的基类

¥The base class for all Puppeteer-specific errors

签名

¥Signature

export declare class PuppeteerError extends Error

Extends: Error

备注

¥Remarks

此类的构造函数被标记为内部构造函数。第三方代码不应直接调用构造函数或创建扩展 PuppeteerError 类的子类。

¥The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the PuppeteerError class.