To handle occurrences of exceptions and special conditions that change the normal flow of the program execution, error handling has to be done appropriately.
-(void)requestFailed:(ODPRequest*)request {NSError* error = [request error]; NSInteger errorCode = [error code]; NSString* errorDesc = [error description]; }