[Locator] Drop unused error codes.