lastErrorDict

From Engineering Client Portal

Engineering Portal breadcrumbArrow.png Digital breadcrumbArrow.png iOS SDK API Reference breadcrumbArrow.png lastErrorDict
Queries the Nielsen App Api framework for the last error that occurred and returns an NSDictionary object with the error information

Syntax

@property (readonly) NSDictionary *lastErrorDict;

Input Parameters

Parameter Description
None

Output Parameters

Output Parameters (Return value) Description
Getting self object and a JSON string object with the last occurred error information.
lastErrorOccurred NSError that provides information on the error domain, the error code, and details on the specific error.
timestamp NSDate time stamp at which the last error occurred.

Notes

The userInfo dictionary object in the NSError contains descriptive information about the error that occurred, which is predefined by the Nielsen App SDK and the time it occurred. Refer to Event and Error Handling section for more details.