Move error to LocalRepo