Home > @rushstack/node-core-library > InternalError
InternalError class
An Error subclass that should be thrown to report an unexpected state that may indicate a software defect. An application may handle this error by instructing the end user to report an issue to the application maintainers.
Signature:
export declare class InternalError extends Error
Extends: Error
Remarks
Do not use this class unless you intend to solicit bug reports from end users.
Constructors
Constructor | Modifiers | Description |
|---|---|---|
Constructs a new instance of the InternalError class. |
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
| boolean | If true, a JavScript | |
| string | The underlying error message, without the additional boilerplate for an |
Methods
Method | Modifiers | Description |
|---|---|---|