Checking if errorRep exists