CommonAPI: iOS: support error in result