Checking if errorRep exists

Checking if errorRep exists