make @errors private.