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

22 lines
395 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.
**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.