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

21 lines
495 B
Markdown
Raw Normal View History

2021-08-10 10:09:48 +00:00
<!-- 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 | |