Changed EntityRepositoryError to EntityRepoError