Skip to main content

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

constructor(message?: string);

Parameters

ParameterTypeDescription
messagestring(Optional)