Data Type Validation Message Override property

Use the Data Type Validation Message Override property to specify a dynamic validation message, which overrides the default Mongoose data type validation message. You can select from the list of error message strings or specify a custom message string.