Use BagOStuff::ERR_ instead of internal StorageAwareness

getLastError() is documented as returning a BagOStuff::ERR_ constant.
Per I836735b1fec8df, that interface is becoming internal.

Change-Id: Ied085eb5376edf1e15fd9fd57d89a29bf283ac6e
1 file changed