Skip to main content
Version: 18.0.3

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

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

Parameters

ParameterTypeDescription
messagestring(Optional)