private boolean hasErrors() {
		return erroredFileCount > 0 || erroredFolderCount > 0;
	}
Creates a new task to delete the specified files and folders.

@param files - the {@link DomainFile files} the user requested to be deleted, or null.
@param folders - the {@link DomainFolder folders} the user requested to be deleted, or null.
@param parentComponent - parent java awt component that will be parent of the message dialogs and such.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/ProjectDataDeleteTask.java