Adding custom error messages to Joi.js validation: using custom labels, referencing other fields, using the values passed to validation in the error message.
Computer Science learning blog
Adding custom error messages to Joi.js validation: using custom labels, referencing other fields, using the values passed to validation in the error message.