Home > @rushstack/node-core-library > InternalError > (constructor)
InternalError.(constructor)
Constructs a new instance of the InternalError class.
Signature:
constructor(message: string);
Parameters
Parameter | Type | Description |
---|---|---|
message | string | A message describing the error. This will be assigned to InternalError.unformattedMessage. The Error.message field will have additional boilerplate explaining that the user has encountered a software defect. |