Skip to main content

ValidationError.(constructor)

Constructs a new instance of the ValidationError class

Signature:

constructor(message: string, method: string, code: string, path: string, description: string);

Parameters

ParameterTypeDescription
messagestring
methodstring
codestring
pathstring
descriptionstring