• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: NSFileManager's errors in 10.5, where are they documented?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: NSFileManager's errors in 10.5, where are they documented?
      • From: Ali Ozer <email@hidden>
References: 
 >NSFileManager's errors in 10.5, where are they documented? (From: Jonathan Dann <email@hidden>)

  • Prev by Date: Re: How hard is it to learn Cocoa - Survey ?
  • Next by Date: assignment in if clause (was: alternate pattern for object initializers)
  • Previous by thread: NSFileManager's errors in 10.5, where are they documented?
  • Next by thread: Re: NSFileManager's errors in 10.5, where are they documented?
  • Index(es):
    • Date
    • Thread