Generate a validation error message
validation_error.Rd
This function generates a validation error message based on a list of errors. If a data frame is provided and it has attached errors, these errors will be included in the message. The message will include the total number of errors and the details of each error.