Re: odd behavior with NSError?
Re: odd behavior with NSError?
- Subject: Re: odd behavior with NSError?
- From: Kyle Sluder <email@hidden>
- Date: Thu, 1 Oct 2009 20:37:06 -0700
Because userInfo is a dictionary and is obviously not what you want.
Using `po` winds up calling -description, which for NSError returns a
synthesis of its localizedDescription, localizedFailureReason,
localizedRecoveryOptions, and localizedRecoverySuggestion.
So if you want that info, just log the error object rather than its userInfo.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden