Re: NSFileManager's errors in 10.5, where are they documented?
Re: NSFileManager's errors in 10.5, where are they documented?
- Subject: Re: NSFileManager's errors in 10.5, where are they documented?
- From: Jens Alfke <email@hidden>
- Date: Mon, 26 May 2008 11:04:48 -0700
On 26 May '08, at 10:24 AM, Jonathan Dann wrote:
I can't find the documentation about which errors can occurr. Do
these docs exist and if not, other than messing with permissions and
trying to force common file handling errors, what error codes should
I test for?
NSFileManager is probably going to return errors in
NSPOSIXErrorDomain, since it mostly makes Unix system calls. Those are
defined in <sys/errno.h>.
Some methods might use CarbonCore FileManager calls, which would
return errors in NSOSStatusErrorDomain. Those are defined in
<MacErrors.h>.
—Jens
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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