Skip to main content
Version: 24.38.0

PuppeteerError 类

🌐 PuppeteerError class

所有 Puppeteer 特定错误的基类

🌐 The base class for all Puppeteer-specific errors

语法

🌐 Signature

export declare class PuppeteerError 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.