puppeteer/website/versioned_docs/version-21.1.1/api/puppeteer.customerror.md

22 lines
396 B
Markdown
Raw Normal View History

2022-10-14 12:54:46 +00:00
---
sidebar_label: CustomError
---
# CustomError class
> Warning: This API is now obsolete.
>
> Do not use.
2022-10-24 14:31:12 +00:00
#### Signature:
2022-10-14 12:54:46 +00:00
```typescript
export declare class CustomError extends Error
```
**Extends:** Error
## Remarks
The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the `CustomError` class.