how to add custom ValidationError in Json Reads in PlayFramework
问题 I am using play Reads validation helpers i want to show some custom message in case of json exception eg:length is minimum then specified or the given email is not valid , i knnow play displays the error message like this error.minLength but i want to display a reasonable message like please enter the character greater then 1 (or something ) here is my code case class DirectUserSignUpValidation(firstName: String, lastName: String, email: String, password: String) extends Serializable object