Re: FSCatalogInfo randomness
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