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.
(Some inherited members may not be shown because they are not represented in the documentation.)
Constructors
Constructor | Modifiers | Description |
---|---|---|
(constructor)(message) | Constructs a new instance of the InternalError class. |
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
breakInDebugger | static | boolean | If true, a JavScript debugger; statement will be invoked whenever the InternalError constructor is called. |
unformattedMessage | readonly | string | The underlying error message, without the additional boilerplate for an InternalError . |
Methods
Method | Modifiers | Description |
---|---|---|
toString() |