Location error checking framework