I am using the NSURLRequest class in my iPhone app, and the method that calls it returns an NSString which is great for when the connection goes throug
NSURLRequest
NSString
for folks new to objective c (me), following is example code that makes accepted answer from 'KennyTM' work ->
[self showAlertWithTitle:@"Error:" withMessage:error.localizedDescription];