• 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: FSCatalogInfo randomness
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: FSCatalogInfo randomness


  • Subject: Re: FSCatalogInfo randomness
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 30 Oct 2007 20:05:09 +0100

On 30.10.2007, at 15:36, Alastair Houghton wrote:
It isn't strictly speaking a Cocoa question, but---since you bring that up---is there a function anywhere that will convert a Carbon error number into a meaningful (NS-)string? Or a database, perhaps, of OSStatus return codes? It'd be really handy to be able to look them up quickly without playing the hunting-about-in-the- system-headers game.

There's a couple of applications out there to look them up, but AFAIK no API calls (though you could probably check of NSError maybe offers a description for an OSStatus, haven't looked into that yet).


That said, personally I find most errors have such uncommon numbers that you can find them easily and quickly by doing a "Find in Frameworks" in Xcode.

Cheers,
-- M. Uli Kusterer
http://www.zathras.de



_______________________________________________

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


References: 
 >FSCatalogInfo randomness (From: email@hidden)
 >Re: FSCatalogInfo randomness (From: Uli Kusterer <email@hidden>)
 >Re: FSCatalogInfo randomness (From: Alastair Houghton <email@hidden>)

  • Prev by Date: Re: "Cocoa Programming for Mac OS X" for Leopard
  • Next by Date: Re: Any better way to determine if file is executable?
  • Previous by thread: Re: FSCatalogInfo randomness
  • Next by thread: Re: FSCatalogInfo randomness
  • Index(es):
    • Date
    • Thread