CustomErrorBase.(constructor)
Home > @backstage/errors > CustomErrorBase > (constructor)
Constructs a new instance of the CustomErrorBase class
Signature:
constructor(message?: string, cause?: Error | unknown);
Parameters
|
Parameter |
Type |
Description |
|---|---|---|
|
message |
string |
(Optional) |
|
cause |
Error | unknown |
(Optional) |