Only errors are added to ErrorCount (and no warning nor information).