CustomError.(constructor)
Constructs a new instance of the CustomError
class
Signature:
class CustomError {
constructor(message?: string);
}
Parameters
Parameter | Type | Description |
---|---|---|
message | string | (Optional) |
Constructs a new instance of the CustomError
class
Signature:
class CustomError {
constructor(message?: string);
}
Parameter | Type | Description |
---|---|---|
message | string | (Optional) |