Error Analysis of Near-Field High Energy Diffraction Microscopy