I am working on catching errors in my app, and I am looking into using NSError. I am slightly confused about how to use it, and how to populate it.
NSError
Well it's a little bit out of question scope but in case you don't have an option for NSError you can always display the Low level error:
NSLog(@"Error = %@ ",[NSString stringWithUTF8String:strerror(errno)]);