Assessment of method errors in measurement of acceleration fields in accelerating sections of charged- particle accelerators