Skip to main content
Version: 21.3.8

CustomError class

Warning: This API is now obsolete.

Do not use.

Signature:

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.