PrimoBurner(tm) for C++  4.2
CD, DVD and Blu-ray Software Development Kit
primo::ErrorDomain Namespace Reference

Defines system error domains. More...

Enumerations

enum  Enum {
  Unknown = 0,
  Windows = 1,
  MacOSStatus = 2,
  MacMachError = 3,
  POSIX = 4
}
 ErrorDomain::Enum. More...

Detailed Description

Defines system error domains.

For largely historical reasons, errors codes in Mac OS X are segregated into domains. For example, Carbon error codes, which are typed as OSStatus, have their origin in versions of the Macintosh operating system predating Mac OS X. On the other hand, POSIX error codes derive from the various POSIX-conforming "flavors" of UNIX, such as BSD.


Enumeration Type Documentation

enum Enum

ErrorDomain::Enum.

Enumerator:
Unknown 

Unknown error domain.

Windows 

This is the default and the only error domain available on Windows.

It indicates that the system error was returned by the GetLastError Windows API function.

MacOSStatus 

Mac OS 9/Carbon OSStatus errors.

Mac OS 9/Carbon OSStatus errors are defined in: /System/Library/Frameworks/CoreServices.framework/Frameworks/CarbonCore.framework/Headers/MacErrors.h

Applies to Mac OS X v10.3 and later

MacMachError 

Mach errors.

On Mac OS, Mach errors are defined in: /usr/include/mach/kern_return.h

Applies to Mac OS X v10.3 and later.

POSIX 

POSIX errors.

On Mac OS/BSD, POSIX errors are defined in: /usr/include/sys/errno.h On Linux, POSIX errors are defined in: /usr/include/errno.h

Applies to Mac OS X v10.3 and later; Linux

 All Classes Namespaces Files Functions Variables Enumerations Enumerator