resetErrors threw errors if path did not exist anymore