Skip to main content
Version: Next

CustomError.(constructor)

Constructs a new instance of the CustomError class

Signature:

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

Parameters

ParameterTypeDescription
messagestring(Optional)