scan errors are not detections…
files that can not be scanned for whatever reason avast give are just that, it does not mean they are infected…
this is the most often asked question in the forum so lots of info if you forum search

I keep doing a virus check and it is saying i have infected file.....
if so avast should give the files(s) a malware name...... so what detection name does avast give?

for more info, attach a screenshot of scan result here