puppeteer/website/versioned_docs/version-10.0.0/puppeteer.customerror._constructor_.md

21 lines
495 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) &gt; [puppeteer](./puppeteer.md) &gt; [CustomError](./puppeteer.customerror.md) &gt; [(constructor)](./puppeteer.customerror._constructor_.md)
## CustomError.(constructor)
Constructs a new instance of the `CustomError` class
<b>Signature:</b>
```typescript
constructor(message: string);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| message | string | |