Skip to contents

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.

Usage

validation_error(list_of_errors, data = NULL, ...)

Arguments

list_of_errors

A list of errors to include in the message

data

An optional data frame that may have attached errors

...

Additional arguments (not used)

Value

No return value; the function outputs the error message