Skip to main content
Version: 17.1.1

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

class CustomError {
constructor(message?: string);
}

Parameters

ParameterTypeDescription
messagestring(Optional)