Nikon lenses may carry a one-year worldwide warranty, but their cameras do not. Almost every camera company protects their national and regional distributor networks by creating warranties that are limited to where the camera is bought.
Typically 'lens errors' are caused by something hitting the lens, or something getting stuck inside of it. Some cameras are fairly robust, and can withstand being dropped on their nose, while others will break simply by being powered on inside of a close-fitting case. This will be called "user damage" or "abuse", and is not covered under warranty, which applies only to defects in materials or manufacturing.
In my experience from working in a camera store there are only two possible outcomes for a compact camera that stops working: it is repaired at no cost by the powers-that-be or it is disposed of by the owner. These devices are made thousands at a time by machine, but they're fixed one at a time by trained technicians. Paying to have one repaired simply isn't cost-effective compared to the purchase price of a new one.