Skip to main content
Version: 15.4.0

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

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

Parameters

ParameterTypeDescription
messagestring(Optional)