
ValidationErrorCollection class
ValidationErrorCollection.Rd
This class manages a collection of ErrorData objects. It can be used to add new ErrorData objects, and to export the collection of errors to a CSV file.
Public fields
error_data_list
A list of ErrorData objects representing the collection of errors.
user_data
The original data frame where the errors were found.
Methods
Method new()
This method receives a list of ErrorData objects.
Usage
ValidationErrorCollection$new(errors = list(), user_data = NULL)
Method length()
This method returns the number of ErrorData objects in the list.
Method get_combined_error_data()
This method combines the error details with the user data and returns it as a data frame.