mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
20 lines
623 B
Markdown
20 lines
623 B
Markdown
|
---
|
||
|
sidebar_label: CustomError
|
||
|
---
|
||
|
|
||
|
# CustomError class
|
||
|
|
||
|
**Signature:**
|
||
|
|
||
|
```typescript
|
||
|
export declare class CustomError extends Error
|
||
|
```
|
||
|
|
||
|
**Extends:** Error
|
||
|
|
||
|
## Constructors
|
||
|
|
||
|
| Constructor | Modifiers | Description |
|
||
|
| ------------------------------------------------------------------ | --------- | --------------------------------------------------------------- |
|
||
|
| [(constructor)(message)](./puppeteer.customerror._constructor_.md) | | Constructs a new instance of the <code>CustomError</code> class |
|