• 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: Michael <email@hidden>
  • Date: Sun, 20 Jul 2008 20:32:15 -0700


On Jul 20, 2008, at 8:22 PM, Jens Alfke wrote:


On 20 Jul '08, at 7:59 PM, Dmitry Markman wrote:

MacErrors.h
QuickTimeErrors.h

<sys/errno.h> for Unix error codes.

In general, negative numbers under a few thousand are Carbon errors and will be in MacErrors.h. Small positive numbers (1 to 50 or so) are Unix errors in <sys/errno.h>. Cocoa and CoreFoundation often use error structs or objects with different 'domains' each with their own set of error codes, which will be declared in the same header as the API that generates them.

So it totally depends on what APIs you're using. You'll have to be more specific (like, what function/method returns the error?).

—Jens


I am  working on replicating it...but so far unable to do so.

_______________________________________________
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


References: 
 >Error codes (From: Michael <email@hidden>)
 >Re: Error codes (From: Dmitry Markman <email@hidden>)
 >Re: Error codes (From: Jens Alfke <email@hidden>)

  • Prev by Date: Re: Error codes
  • Next by Date: Re: Problem compiling first Cocoa app in Xcode 3.1
  • Previous by thread: Re: Error codes
  • Next by thread: Re: Error codes
  • Index(es):
    • Date
    • Thread