Skip to main content
Version: 18.0.5

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

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

Parameters

ParameterTypeDescription
messagestring(Optional)