raise error when detecting location if current location is outside of bounds