setErrorStruct now calls setErrorFieldStruct