<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [CustomError](./puppeteer.customerror.md)

## CustomError class


<b>Signature:</b>

```typescript
export declare class CustomError extends Error 
```
<b>Extends:</b> Error

## Constructors

|  Constructor | Modifiers | Description |
|  --- | --- | --- |
|  [(constructor)(message)](./puppeteer.customerror._constructor_.md) |  | Constructs a new instance of the <code>CustomError</code> class |