Skip to content

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

OptionsError.(constructor) ​

Constructs a new instance of the OptionsError class

Signature:

typescript
constructor(message: string);

Parameters ​

ParameterTypeDescription
messagestring