Re: Error codes
Re: Error codes
- Subject: Re: Error codes
- From: vertilab email <email@hidden>
- Date: Mon, 21 Jul 2008 15:29:36 -0400
No; where did you get that idea from? MacErrors.h still defines the error numbers in the Carbon error domain. Nothing's changed about that. The documentation you linked to just documents the new CFError API, which is equivalent to NSError but now available with a CoreFoundation API. This provides a way to return more detailed error information, but it in no way obsoletes any particular error domain or its error codes. Jen
The MacErrors.h that came with the latest developer distribution contains the following (and only the following):
#include <CoreServices/CoreServices.h>
I went looking for the meaning of an OSStatus error code the other day, and couldn't find it - I had to use the CFError API instead.
I never said that any particular error domain or its error codes has been obsoleted, only that being able to glance at MacErrors.h to find the meaning of an error code is no longer feasible. If I'm wrong, where did all of the OSStatus error #defines run off to?
-Steve |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden