mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
22 lines
367 B
Markdown
22 lines
367 B
Markdown
---
|
|
sidebar_label: CustomError.(constructor)
|
|
---
|
|
|
|
# CustomError.(constructor)
|
|
|
|
Constructs a new instance of the `CustomError` class
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
class CustomError {
|
|
constructor(message?: string);
|
|
}
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --------- | ------ | ----------------- |
|
|
| message | string | <i>(Optional)</i> |
|