Error estimate for the valence approximation to lattice QCD