Skip to content

Home > @opengovsg/validators > WebhookUrlValidationError > (constructor)

WebhookUrlValidationError.(constructor) ​

Constructs a new instance of the WebhookUrlValidationError class

Signature:

typescript
constructor(message: string);

Parameters ​

ParameterTypeDescription
messagestring