error-measuring device