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

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

  • Follow-Ups:
    • Re: Error codes
      • From: Jean-Daniel Dupas <email@hidden>
    • Re: Error codes
      • From: Dan Korn <email@hidden>
  • Prev by Date: gdb start-with-shell
  • Next by Date: Re: gdb start-with-shell
  • Previous by thread: Re: Error codes
  • Next by thread: Re: Error codes
  • Index(es):
    • Date
    • Thread