Home | History | Annotate | Download | only in plat-mac
      1 # -coding=latin1-
      2 
      3 from warnings import warnpy3k
      4 warnpy3k("In 3.x, the macerrors module is removed.", stacklevel=2)
      5 
      6 svTempDisable   =   -32768  #svTempDisable
      7 svDisabled  =   -32640  #Reserve range -32640 to -32768 for Apple temp disables.
      8 fontNotOutlineErr   =   -32615  #bitmap font passed to routine that does outlines only
      9 kURL68kNotSupportedError    =   -30788  #kURL68kNotSupportedError
     10 kURLAccessNotAvailableError =   -30787  #kURLAccessNotAvailableError
     11 kURLInvalidConfigurationError   =   -30786  #kURLInvalidConfigurationError
     12 kURLExtensionFailureError   =   -30785  #kURLExtensionFailureError
     13 kURLFileEmptyError  =   -30783  #kURLFileEmptyError
     14 kURLInvalidCallError    =   -30781  #kURLInvalidCallError
     15 kURLUnsettablePropertyError =   -30780  #kURLUnsettablePropertyError
     16 kURLPropertyBufferTooSmallError =   -30779  #kURLPropertyBufferTooSmallError
     17 kURLUnknownPropertyError    =   -30778  #kURLUnknownPropertyError
     18 kURLPropertyNotYetKnownError    =   -30777  #kURLPropertyNotYetKnownError
     19 kURLAuthenticationError =   -30776  #kURLAuthenticationError
     20 kURLServerBusyError =   -30775  #kURLServerBusyError
     21 kURLUnsupportedSchemeError  =   -30774  #kURLUnsupportedSchemeError
     22 kURLInvalidURLError =   -30773  #kURLInvalidURLError
     23 kURLDestinationExistsError  =   -30772  #kURLDestinationExistsError
     24 kURLProgressAlreadyDisplayedError   =   -30771  #kURLProgressAlreadyDisplayedError
     25 kURLInvalidURLReferenceError    =   -30770  #kURLInvalidURLReferenceError
     26 controlHandleInvalidErr =   -30599  #controlHandleInvalidErr
     27 controlInvalidDataVersionErr    =   -30597  #controlInvalidDataVersionErr
     28 errItemNotControl   =   -30596  #errItemNotControl
     29 errCantEmbedRoot    =   -30595  #errCantEmbedRoot
     30 errCantEmbedIntoSelf    =   -30594  #errCantEmbedIntoSelf
     31 errWindowRegionCodeInvalid  =   -30593  #errWindowRegionCodeInvalid
     32 errControlHiddenOrDisabled  =   -30592  #errControlHiddenOrDisabled
     33 errDataSizeMismatch =   -30591  #errDataSizeMismatch
     34 errControlIsNotEmbedder =   -30590  #errControlIsNotEmbedder
     35 errControlsAlreadyExist =   -30589  #errControlsAlreadyExist
     36 errInvalidPartCode  =   -30588  #errInvalidPartCode
     37 errRootAlreadyExists    =   -30587  #errRootAlreadyExists
     38 errNoRootControl    =   -30586  #errNoRootControl
     39 errCouldntSetFocus  =   -30585  #errCouldntSetFocus
     40 errUnknownControl   =   -30584  #errUnknownControl
     41 errWindowDoesntSupportFocus =   -30583  #errWindowDoesntSupportFocus
     42 errControlDoesntSupportFocus    =   -30582  #errControlDoesntSupportFocus
     43 errDataNotSupported =   -30581  #errDataNotSupported
     44 errMessageNotSupported  =   -30580  #errMessageNotSupported
     45 themeMonitorDepthNotSupportedErr    =   -30567  #theme not supported at monitor depth
     46 themeScriptFontNotFoundErr  =   -30566  #theme font requested for uninstalled script system
     47 themeBadCursorIndexErr  =   -30565  #themeBadCursorIndexErr
     48 themeHasNoAccentsErr    =   -30564  #themeHasNoAccentsErr
     49 themeBadTextColorErr    =   -30563  #themeBadTextColorErr
     50 themeProcessNotRegisteredErr    =   -30562  #themeProcessNotRegisteredErr
     51 themeProcessRegisteredErr   =   -30561  #themeProcessRegisteredErr
     52 themeInvalidBrushErr    =   -30560  #pattern index invalid
     53 qtvrUninitialized   =   -30555  #qtvrUninitialized
     54 qtvrLibraryLoadErr  =   -30554  #qtvrLibraryLoadErr
     55 streamingNodeNotReadyErr    =   -30553  #streamingNodeNotReadyErr
     56 noMemoryNodeFailedInitialize    =   -30552  #noMemoryNodeFailedInitialize
     57 invalidHotSpotIDErr =   -30551  #invalidHotSpotIDErr
     58 invalidNodeFormatErr    =   -30550  #invalidNodeFormatErr
     59 limitReachedErr =   -30549  #limitReachedErr
     60 settingNotSupportedByNodeErr    =   -30548  #settingNotSupportedByNodeErr
     61 propertyNotSupportedByNodeErr   =   -30547  #propertyNotSupportedByNodeErr
     62 timeNotInViewErr    =   -30546  #timeNotInViewErr
     63 invalidViewStateErr =   -30545  #invalidViewStateErr
     64 invalidNodeIDErr    =   -30544  #invalidNodeIDErr
     65 selectorNotSupportedByNodeErr   =   -30543  #selectorNotSupportedByNodeErr
     66 callNotSupportedByNodeErr   =   -30542  #callNotSupportedByNodeErr
     67 constraintReachedErr    =   -30541  #constraintReachedErr
     68 notAQTVRMovieErr    =   -30540  #notAQTVRMovieErr
     69 kFBCnoSuchHit   =   -30532  #kFBCnoSuchHit
     70 kFBCbadSearchSession    =   -30531  #kFBCbadSearchSession
     71 kFBCindexDiskIOFailed   =   -30530  #kFBCindexDiskIOFailed
     72 kFBCsummarizationCanceled   =   -30529  #kFBCsummarizationCanceled
     73 kFBCbadIndexFileVersion =   -30528  #kFBCbadIndexFileVersion
     74 kFBCanalysisNotAvailable    =   -30527  #kFBCanalysisNotAvailable
     75 kFBCillegalSessionChange    =   -30526  #tried to add/remove vols to a session
     76 kFBCsomeFilesNotIndexed =   -30525  #kFBCsomeFilesNotIndexed
     77 kFBCsearchFailed    =   -30524  #kFBCsearchFailed
     78 kFBCindexNotAvailable   =   -30523  #kFBCindexNotAvailable
     79 kFBCindexFileDestroyed  =   -30522  #kFBCindexFileDestroyed
     80 kFBCaccessCanceled  =   -30521  #kFBCaccessCanceled
     81 kFBCindexingCanceled    =   -30520  #kFBCindexingCanceled
     82 kFBCnoSearchSession =   -30519  #kFBCnoSearchSession
     83 kFBCindexNotFound   =   -30518  #kFBCindexNotFound
     84 kFBCflushFailed =   -30517  #kFBCflushFailed
     85 kFBCaddDocFailed    =   -30516  #kFBCaddDocFailed
     86 kFBCaccessorStoreFailed =   -30515  #kFBCaccessorStoreFailed
     87 kFBCindexCreationFailed =   -30514  #couldn't create index
     88 kFBCmergingFailed   =   -30513  #couldn't merge index files
     89 kFBCtokenizationFailed  =   -30512  #couldn't read from document or query
     90 kFBCmoveFailed  =   -30511  #V-Twin exception caught
     91 kFBCdeletionFailed  =   -30510  #V-Twin exception caught
     92 kFBCcommitFailed    =   -30509  #V-Twin exception caught
     93 kFBCindexingFailed  =   -30508  #V-Twin exception caught
     94 kFBCvalidationFailed    =   -30507  #V-Twin exception caught
     95 kFBCcompactionFailed    =   -30506  #V-Twin exception caught
     96 kFBCbadIndexFile    =   -30505  #bad FSSpec, or bad data in file
     97 kFBCfileNotIndexed  =   -30504  #kFBCfileNotIndexed
     98 kFBCbadParam    =   -30503  #kFBCbadParam
     99 kFBCallocFailed =   -30502  #probably low memory
    100 kFBCnoIndexesFound  =   -30501  #kFBCnoIndexesFound
    101 kFBCvTwinExceptionErr   =   -30500  #no telling what it was
    102 kDSpStereoContextErr    =   -30450  #kDSpStereoContextErr
    103 kDSpInternalErr =   -30449  #kDSpInternalErr
    104 kDSpConfirmSwitchWarning    =   -30448  #kDSpConfirmSwitchWarning
    105 kDSpFrameRateNotReadyErr    =   -30447  #kDSpFrameRateNotReadyErr
    106 kDSpContextNotFoundErr  =   -30446  #kDSpContextNotFoundErr
    107 kDSpContextNotReservedErr   =   -30445  #kDSpContextNotReservedErr
    108 kDSpContextAlreadyReservedErr   =   -30444  #kDSpContextAlreadyReservedErr
    109 kDSpInvalidAttributesErr    =   -30443  #kDSpInvalidAttributesErr
    110 kDSpInvalidContextErr   =   -30442  #kDSpInvalidContextErr
    111 kDSpSystemSWTooOldErr   =   -30441  #kDSpSystemSWTooOldErr
    112 kDSpNotInitializedErr   =   -30440  #kDSpNotInitializedErr
    113 kISpListBusyErr =   -30429  #kISpListBusyErr
    114 kISpDeviceActiveErr =   -30428  #kISpDeviceActiveErr
    115 kISpSystemActiveErr =   -30427  #kISpSystemActiveErr
    116 kISpDeviceInactiveErr   =   -30426  #kISpDeviceInactiveErr
    117 kISpSystemInactiveErr   =   -30425  #kISpSystemInactiveErr
    118 kISpElementNotInListErr =   -30424  #kISpElementNotInListErr
    119 kISpElementInListErr    =   -30423  #kISpElementInListErr
    120 kISpBufferToSmallErr    =   -30422  #kISpBufferToSmallErr
    121 kISpSystemListErr   =   -30421  #kISpSystemListErr
    122 kISpInternalErr =   -30420  #kISpInternalErr
    123 kNSpJoinFailedErr   =   -30399  #kNSpJoinFailedErr
    124 kNSpCantBlockErr    =   -30398  #kNSpCantBlockErr
    125 kNSpMessageTooBigErr    =   -30397  #kNSpMessageTooBigErr
    126 kNSpSendFailedErr   =   -30396  #kNSpSendFailedErr
    127 kNSpConnectFailedErr    =   -30395  #kNSpConnectFailedErr
    128 kNSpGameTerminatedErr   =   -30394  #kNSpGameTerminatedErr
    129 kNSpTimeoutErr  =   -30393  #kNSpTimeoutErr
    130 kNSpInvalidProtocolListErr  =   -30392  #kNSpInvalidProtocolListErr
    131 kNSpInvalidProtocolRefErr   =   -30391  #kNSpInvalidProtocolRefErr
    132 kNSpInvalidDefinitionErr    =   -30390  #kNSpInvalidDefinitionErr
    133 kNSpAddPlayerFailedErr  =   -30389  #kNSpAddPlayerFailedErr
    134 kNSpCreateGroupFailedErr    =   -30388  #kNSpCreateGroupFailedErr
    135 kNSpNoHostVolunteersErr =   -30387  #kNSpNoHostVolunteersErr
    136 kNSpNoGroupsErr =   -30386  #kNSpNoGroupsErr
    137 kNSpNoPlayersErr    =   -30385  #kNSpNoPlayersErr
    138 kNSpInvalidGroupIDErr   =   -30384  #kNSpInvalidGroupIDErr
    139 kNSpInvalidPlayerIDErr  =   -30383  #kNSpInvalidPlayerIDErr
    140 kNSpNameRequiredErr =   -30382  #kNSpNameRequiredErr
    141 kNSpFeatureNotImplementedErr    =   -30381  #kNSpFeatureNotImplementedErr
    142 kNSpAddressInUseErr =   -30380  #kNSpAddressInUseErr
    143 kNSpRemovePlayerFailedErr   =   -30379  #kNSpRemovePlayerFailedErr
    144 kNSpFreeQExhaustedErr   =   -30378  #kNSpFreeQExhaustedErr
    145 kNSpInvalidAddressErr   =   -30377  #kNSpInvalidAddressErr
    146 kNSpNotAdvertisingErr   =   -30376  #kNSpNotAdvertisingErr
    147 kNSpAlreadyAdvertisingErr   =   -30374  #kNSpAlreadyAdvertisingErr
    148 kNSpMemAllocationErr    =   -30373  #kNSpMemAllocationErr
    149 kNSpOTVersionTooOldErr  =   -30371  #kNSpOTVersionTooOldErr
    150 kNSpOTNotPresentErr =   -30370  #kNSpOTNotPresentErr
    151 kNSpInvalidParameterErr =   -30369  #kNSpInvalidParameterErr
    152 kNSpInvalidGameRefErr   =   -30367  #kNSpInvalidGameRefErr
    153 kNSpProtocolNotAvailableErr =   -30366  #kNSpProtocolNotAvailableErr
    154 kNSpHostFailedErr   =   -30365  #kNSpHostFailedErr
    155 kNSpPipeFullErr =   -30364  #kNSpPipeFullErr
    156 kNSpTopologyNotSupportedErr =   -30362  #kNSpTopologyNotSupportedErr
    157 kNSpAlreadyInitializedErr   =   -30361  #kNSpAlreadyInitializedErr
    158 kNSpInitializationFailedErr =   -30360  #kNSpInitializationFailedErr
    159 kSSpScaleToZeroErr  =   -30344  #kSSpScaleToZeroErr
    160 kSSpParallelUpVectorErr =   -30343  #kSSpParallelUpVectorErr
    161 kSSpCantInstallErr  =   -30342  #kSSpCantInstallErr
    162 kSSpVersionErr  =   -30341  #kSSpVersionErr
    163 kSSpInternalErr =   -30340  #kSSpInternalErr
    164 kALMInternalErr =   -30049  #kALMInternalErr
    165 kALMGroupNotFoundErr    =   -30048  #kALMGroupNotFoundErr
    166 kALMNoSuchModuleErr =   -30047  #kALMNoSuchModuleErr
    167 kALMModuleCommunicationErr  =   -30046  #kALMModuleCommunicationErr
    168 kALMDuplicateModuleErr  =   -30045  #kALMDuplicateModuleErr
    169 kALMInstallationErr =   -30044  #kALMInstallationErr
    170 kALMDeferSwitchErr  =   -30043  #kALMDeferSwitchErr
    171 kALMRebootFlagsLevelErr =   -30042  #kALMRebootFlagsLevelErr
    172 kLocalesDefaultDisplayStatus    =   -30029  #Requested display locale unavailable, used default
    173 kLocalesTableFormatErr  =   -30002  #kLocalesTableFormatErr
    174 kLocalesBufferTooSmallErr   =   -30001  #kLocalesBufferTooSmallErr
    175 kFNSNameNotFoundErr =   -29589  #The name with the requested paramters was not found
    176 kFNSBadFlattenedSizeErr =   -29587  #flattened size didn't match input or was too small
    177 kFNSInsufficientDataErr =   -29586  #insufficient data for the operation
    178 kFNSMismatchErr =   -29585  #reference didn't match or wasn't found in profile
    179 kFNSDuplicateReferenceErr   =   -29584  #the ref. being added is already in the profile
    180 kFNSBadProfileVersionErr    =   -29583  #profile version is out of known range
    181 kFNSInvalidProfileErr   =   -29582  #profile is NULL or otherwise bad
    182 kFNSBadReferenceVersionErr  =   -29581  #ref. version is out of known range
    183 kFNSInvalidReferenceErr =   -29580  #ref. was NULL or otherwise bad
    184 kCollateInvalidCollationRef =   -29507  #kCollateInvalidCollationRef
    185 kCollateBufferTooSmall  =   -29506  #kCollateBufferTooSmall
    186 kCollateInvalidChar =   -29505  #kCollateInvalidChar
    187 kCollatePatternNotFoundErr  =   -29504  #kCollatePatternNotFoundErr
    188 kCollateUnicodeConvertFailedErr =   -29503  #kCollateUnicodeConvertFailedErr
    189 kCollateMissingUnicodeTableErr  =   -29502  #kCollateMissingUnicodeTableErr
    190 kCollateInvalidOptions  =   -29501  #kCollateInvalidOptions
    191 kCollateAttributesNotFoundErr   =   -29500  #kCollateAttributesNotFoundErr
    192 kMPInvalidIDErr =   -29299  #kMPInvalidIDErr
    193 kMPInsufficientResourcesErr =   -29298  #kMPInsufficientResourcesErr
    194 kMPTaskAbortedErr   =   -29297  #kMPTaskAbortedErr
    195 kMPTimeoutErr   =   -29296  #kMPTimeoutErr
    196 kMPDeletedErr   =   -29295  #kMPDeletedErr
    197 kMPBlueBlockingErr  =   -29293  #kMPBlueBlockingErr
    198 kMPTaskStoppedErr   =   -29292  #A convention used with MPThrowException.
    199 kMPTaskBlockedErr   =   -29291  #kMPTaskBlockedErr
    200 kMPTaskCreatedErr   =   -29290  #kMPTaskCreatedErr
    201 kMPProcessTerminatedErr =   -29289  #kMPProcessTerminatedErr
    202 kMPProcessCreatedErr    =   -29288  #kMPProcessCreatedErr
    203 kMPPrivilegedErr    =   -29276  #kMPPrivilegedErr
    204 kMPIterationEndErr  =   -29275  #kMPIterationEndErr
    205 kUCTextBreakLocatorMissingType  =   -25341  #Unicode text break error
    206 kUCOutputBufferTooSmall =   -25340  #Output buffer too small for Unicode string result
    207 errKCCreateChainFailed  =   -25318  #errKCCreateChainFailed
    208 errKCDataNotModifiable  =   -25317  #errKCDataNotModifiable
    209 errKCDataNotAvailable   =   -25316  #errKCDataNotAvailable
    210 errKCInteractionRequired    =   -25315  #errKCInteractionRequired
    211 errKCNoPolicyModule =   -25314  #errKCNoPolicyModule
    212 errKCNoCertificateModule    =   -25313  #errKCNoCertificateModule
    213 errKCNoStorageModule    =   -25312  #errKCNoStorageModule
    214 errKCKeySizeNotAllowed  =   -25311  #errKCKeySizeNotAllowed
    215 errKCWrongKCVersion =   -25310  #errKCWrongKCVersion
    216 errKCReadOnlyAttr   =   -25309  #errKCReadOnlyAttr
    217 errKCInteractionNotAllowed  =   -25308  #errKCInteractionNotAllowed
    218 errKCNoDefaultKeychain  =   -25307  #errKCNoDefaultKeychain
    219 errKCNoSuchClass    =   -25306  #errKCNoSuchClass
    220 errKCInvalidSearchRef   =   -25305  #errKCInvalidSearchRef
    221 errKCInvalidItemRef =   -25304  #errKCInvalidItemRef
    222 errKCNoSuchAttr =   -25303  #errKCNoSuchAttr
    223 errKCDataTooLarge   =   -25302  #errKCDataTooLarge
    224 errKCBufferTooSmall =   -25301  #errKCBufferTooSmall
    225 errKCItemNotFound   =   -25300  #errKCItemNotFound
    226 errKCDuplicateItem  =   -25299  #errKCDuplicateItem
    227 errKCInvalidCallback    =   -25298  #errKCInvalidCallback
    228 errKCDuplicateCallback  =   -25297  #errKCDuplicateCallback
    229 errKCDuplicateKeychain  =   -25296  #errKCDuplicateKeychain
    230 errKCInvalidKeychain    =   -25295  #errKCInvalidKeychain
    231 errKCNoSuchKeychain =   -25294  #errKCNoSuchKeychain
    232 errKCAuthFailed =   -25293  #errKCAuthFailed
    233 errKCReadOnly   =   -25292  #errKCReadOnly
    234 errKCNotAvailable   =   -25291  #errKCNotAvailable
    235 printerStatusOpCodeNotSupportedErr  =   -25280  #printerStatusOpCodeNotSupportedErr
    236 kTXNOutsideOfFrameErr   =   -22018  #kTXNOutsideOfFrameErr
    237 kTXNOutsideOfLineErr    =   -22017  #kTXNOutsideOfLineErr
    238 kTXNATSUIIsNotInstalledErr  =   -22016  #kTXNATSUIIsNotInstalledErr
    239 kTXNDataTypeNotAllowedErr   =   -22015  #kTXNDataTypeNotAllowedErr
    240 kTXNCopyNotAllowedInEchoModeErr =   -22014  #kTXNCopyNotAllowedInEchoModeErr
    241 kTXNCannotTurnTSMOffWhenUsingUnicodeErr =   -22013  #kTXNCannotTurnTSMOffWhenUsingUnicodeErr
    242 kTXNAlreadyInitializedErr   =   -22012  #kTXNAlreadyInitializedErr
    243 kTXNInvalidRunIndex =   -22011  #kTXNInvalidRunIndex
    244 kTXNSomeOrAllTagsInvalidForRunErr   =   -22010  #kTXNSomeOrAllTagsInvalidForRunErr
    245 kTXNAttributeTagInvalidForRunErr    =   -22009  #dataValue is set to this per invalid tag
    246 kTXNNoMatchErr  =   -22008  #kTXNNoMatchErr
    247 kTXNRunIndexOutofBoundsErr  =   -22007  #kTXNRunIndexOutofBoundsErr
    248 kTXNCannotSetAutoIndentErr  =   -22006  #kTXNCannotSetAutoIndentErr
    249 kTXNBadDefaultFileTypeWarning   =   -22005  #kTXNBadDefaultFileTypeWarning
    250 kTXNUserCanceledOperationErr    =   -22004  #kTXNUserCanceledOperationErr
    251 kTXNIllegalToCrossDataBoundariesErr =   -22003  #kTXNIllegalToCrossDataBoundariesErr
    252 kTXNInvalidFrameIDErr   =   -22002  #kTXNInvalidFrameIDErr
    253 kTXNCannotAddFrameErr   =   -22001  #kTXNCannotAddFrameErr
    254 kTXNEndIterationErr =   -22000  #kTXNEndIterationErr
    255 invalidIndexErr =   -20002  #The recordIndex parameter is not valid.
    256 recordDataTooBigErr =   -20001  #The record data is bigger than buffer size (1024 bytes).
    257 unknownInsertModeErr    =   -20000  #There is no such an insert mode.
    258 kModemScriptMissing =   -14002  #kModemScriptMissing
    259 kModemPreferencesMissing    =   -14001  #kModemPreferencesMissing
    260 kModemOutOfMemory   =   -14000  #kModemOutOfMemory
    261 kHIDBaseError   =   -13950  #kHIDBaseError
    262 kHIDNullStateErr    =   -13949  #kHIDNullStateErr
    263 kHIDBufferTooSmallErr   =   -13948  #kHIDBufferTooSmallErr
    264 kHIDValueOutOfRangeErr  =   -13947  #kHIDValueOutOfRangeErr
    265 kHIDUsageNotFoundErr    =   -13946  #kHIDUsageNotFoundErr
    266 kHIDNotValueArrayErr    =   -13945  #kHIDNotValueArrayErr
    267 kHIDInvalidPreparsedDataErr =   -13944  #kHIDInvalidPreparsedDataErr
    268 kHIDIncompatibleReportErr   =   -13943  #kHIDIncompatibleReportErr
    269 kHIDBadLogPhysValuesErr =   -13942  #kHIDBadLogPhysValuesErr
    270 kHIDInvalidReportTypeErr    =   -13941  #kHIDInvalidReportTypeErr
    271 kHIDInvalidReportLengthErr  =   -13940  #kHIDInvalidReportLengthErr
    272 kHIDNullPointerErr  =   -13939  #kHIDNullPointerErr
    273 kHIDBadParameterErr =   -13938  #kHIDBadParameterErr
    274 kHIDNotEnoughMemoryErr  =   -13937  #kHIDNotEnoughMemoryErr
    275 kHIDEndOfDescriptorErr  =   -13936  #kHIDEndOfDescriptorErr
    276 kHIDUsagePageZeroErr    =   -13935  #kHIDUsagePageZeroErr
    277 kHIDBadLogicalMinimumErr    =   -13934  #kHIDBadLogicalMinimumErr
    278 kHIDBadLogicalMaximumErr    =   -13933  #kHIDBadLogicalMaximumErr
    279 kHIDInvertedLogicalRangeErr =   -13932  #kHIDInvertedLogicalRangeErr
    280 kHIDInvertedPhysicalRangeErr    =   -13931  #kHIDInvertedPhysicalRangeErr
    281 kHIDUnmatchedUsageRangeErr  =   -13930  #kHIDUnmatchedUsageRangeErr
    282 kHIDInvertedUsageRangeErr   =   -13929  #kHIDInvertedUsageRangeErr
    283 kHIDUnmatchedStringRangeErr =   -13928  #kHIDUnmatchedStringRangeErr
    284 kHIDUnmatchedDesignatorRangeErr =   -13927  #kHIDUnmatchedDesignatorRangeErr
    285 kHIDReportSizeZeroErr   =   -13926  #kHIDReportSizeZeroErr
    286 kHIDReportCountZeroErr  =   -13925  #kHIDReportCountZeroErr
    287 kHIDReportIDZeroErr =   -13924  #kHIDReportIDZeroErr
    288 kHIDInvalidRangePageErr =   -13923  #kHIDInvalidRangePageErr
    289 kHIDDeviceNotReady  =   -13910  #The device is still initializing, try again later
    290 kHIDVersionIncompatibleErr  =   -13909  #kHIDVersionIncompatibleErr
    291 debuggingNoMatchErr =   -13887  #debugging component or option not found at this index
    292 debuggingNoCallbackErr  =   -13886  #debugging component has no callback
    293 debuggingInvalidNameErr =   -13885  #componentName or optionName is invalid (NULL)
    294 debuggingInvalidOptionErr   =   -13884  #optionSelectorNum is not registered
    295 debuggingInvalidSignatureErr    =   -13883  #componentSignature not registered
    296 debuggingDuplicateOptionErr =   -13882  #optionSelectorNum already registered
    297 debuggingDuplicateSignatureErr  =   -13881  #componentSignature already registered
    298 debuggingExecutionContextErr    =   -13880  #routine cannot be called at this time
    299 kBridgeSoftwareRunningCantSleep =   -13038  #kBridgeSoftwareRunningCantSleep
    300 kNoSuchPowerSource  =   -13020  #kNoSuchPowerSource
    301 kProcessorTempRoutineRequiresMPLib2 =   -13014  #kProcessorTempRoutineRequiresMPLib2
    302 kCantReportProcessorTemperatureErr  =   -13013  #kCantReportProcessorTemperatureErr
    303 kPowerMgtRequestDenied  =   -13010  #kPowerMgtRequestDenied
    304 kPowerMgtMessageNotHandled  =   -13009  #kPowerMgtMessageNotHandled
    305 kPowerHandlerNotFoundForProcErr =   -13008  #kPowerHandlerNotFoundForProcErr
    306 kPowerHandlerNotFoundForDeviceErr   =   -13007  #kPowerHandlerNotFoundForDeviceErr
    307 kPowerHandlerExistsForDeviceErr =   -13006  #kPowerHandlerExistsForDeviceErr
    308 pmRecvEndErr    =   -13005  #during receive, pmgr did not finish hs configured for this connection
    309 pmRecvStartErr  =   -13004  #during receive, pmgr did not start hs
    310 pmSendEndErr    =   -13003  #during send, pmgr did not finish hs
    311 pmSendStartErr  =   -13002  #during send, pmgr did not start hs
    312 pmReplyTOErr    =   -13001  #Timed out waiting for reply
    313 pmBusyErr   =   -13000  #Power Mgr never ready to start handshake
    314 pictureDataErr  =   -11005  #the picture data was invalid
    315 colorsRequestedErr  =   -11004  #the number of colors requested was illegal
    316 cantLoadPickMethodErr   =   -11003  #unable to load the custom pick proc
    317 pictInfoVerbErr =   -11002  #the passed verb was invalid
    318 pictInfoIDErr   =   -11001  #the internal consistancy check for the PictInfoID is wrong
    319 pictInfoVersionErr  =   -11000  #wrong version of the PictInfo structure
    320 errTaskNotFound =   -10780  #no task with that task id exists
    321 telNotEnoughdspBW   =   -10116  #not enough real-time for allocation
    322 telBadSampleRate    =   -10115  #incompatible sample rate
    323 telBadSWErr =   -10114  #Software not installed properly
    324 telDetAlreadyOn =   -10113  #detection is already turned on
    325 telAutoAnsNotOn =   -10112  #autoAnswer in not turned on
    326 telValidateFailed   =   -10111  #telValidate failed
    327 telBadProcID    =   -10110  #invalid procID
    328 telDeviceNotFound   =   -10109  #device not found
    329 telBadCodeResource  =   -10108  #code resource not found
    330 telInitFailed   =   -10107  #initialization failed
    331 telNoCommFolder =   -10106  #Communications/Extensions  not found
    332 telUnknownErr   =   -10103  #unable to set config
    333 telNoSuchTool   =   -10102  #unable to find tool with name specified
    334 telBadFunction  =   -10091  #bad msgCode specified
    335 telPBErr    =   -10090  #parameter block error, bad format
    336 telCANotDeflectable =   -10082  #CA not "deflectable"
    337 telCANotRejectable  =   -10081  #CA not "rejectable"
    338 telCANotAcceptable  =   -10080  #CA not "acceptable"
    339 telTermNotOpen  =   -10072  #terminal not opened via TELOpenTerm
    340 telStillNeeded  =   -10071  #terminal driver still needed by someone else
    341 telAlreadyOpen  =   -10070  #terminal already open
    342 telNoCallbackRef    =   -10064  #no call back reference was specified, but is required
    343 telDisplayModeNotSupp   =   -10063  #display mode not supported by tool
    344 telBadDisplayMode   =   -10062  #bad display mode specified
    345 telFwdTypeNotSupp   =   -10061  #forward type not supported by tool
    346 telDNTypeNotSupp    =   -10060  #DN type not supported by tool
    347 telBadRate  =   -10059  #bad rate specified
    348 telBadBearerType    =   -10058  #bad bearerType specified
    349 telBadSelect    =   -10057  #unable to select or deselect DN
    350 telBadParkID    =   -10056  #bad park id specified
    351 telBadPickupGroupID =   -10055  #bad pickup group ID specified
    352 telBadFwdType   =   -10054  #bad fwdType specified
    353 telBadFeatureID =   -10053  #bad feature ID specified
    354 telBadIntercomID    =   -10052  #bad intercom ID specified
    355 telBadPageID    =   -10051  #bad page ID specified
    356 telBadDNType    =   -10050  #DN type invalid
    357 telConfLimitExceeded    =   -10047  #attempt to exceed switch conference limits
    358 telCBErr    =   -10046  #call back feature not set previously
    359 telTransferRej  =   -10045  #transfer request rejected
    360 telTransferErr  =   -10044  #transfer not prepared
    361 telConfRej  =   -10043  #conference request was rejected
    362 telConfErr  =   -10042  #conference was not prepared
    363 telConfNoLimit  =   -10041  #no limit was specified but required
    364 telConfLimitErr =   -10040  #limit specified is too high for this configuration
    365 telFeatNotSupp  =   -10033  #feature program call not supported by this tool
    366 telFeatActive   =   -10032  #feature already active
    367 telFeatNotAvail =   -10031  #feature subscribed but not available
    368 telFeatNotSub   =   -10030  #feature not subscribed
    369 errAEPropertiesClash    =   -10025  #illegal combination of properties settings for Set Data, make new, or duplicate
    370 errAECantPutThatThere   =   -10024  #in make new, duplicate, etc. class can't be an element of container
    371 errAENotAnEnumMember    =   -10023  #enumerated value in SetData is not allowed for this property
    372 telIntExtNotSupp    =   -10022  #internal external type not supported by this tool
    373 telBadIntExt    =   -10021  #bad internal external error
    374 telStateNotSupp =   -10020  #device state not supported by tool
    375 telBadStateErr  =   -10019  #bad device state specified
    376 telIndexNotSupp =   -10018  #index not supported by this tool
    377 telBadIndex =   -10017  #bad index specified
    378 telAPattNotSupp =   -10016  #alerting pattern not supported by tool
    379 telBadAPattErr  =   -10015  #bad alerting pattern specified
    380 telVTypeNotSupp =   -10014  #volume type not supported by this tool
    381 telBadVTypeErr  =   -10013  #bad volume type error
    382 telBadLevelErr  =   -10012  #bad volume level setting
    383 telHTypeNotSupp =   -10011  #hook type not supported by this tool
    384 telBadHTypeErr  =   -10010  #bad hook type specified
    385 errAECantSupplyType =   -10009  #errAECantSupplyType
    386 telNoOpenErr    =   -10008  #unable to open terminal
    387 telNoMemErr =   -10007  #no memory to allocate handle
    388 errOSACantAssign    =   -10006  #Signaled when an object cannot be set in a container.
    389 telBadProcErr   =   -10005  #bad msgProc specified
    390 telBadHandErr   =   -10004  #bad handle specified
    391 OSAIllegalAssign    =   -10003  #Signaled when an object can never be set in a container
    392 telBadDNErr =   -10002  #TELDNHandle not found or invalid
    393 telBadTermErr   =   -10001  #invalid TELHandle or handle not found
    394 errAEEventFailed    =   -10000  #errAEEventFailed
    395 cannotMoveAttachedController    =   -9999   #cannotMoveAttachedController
    396 controllerHasFixedHeight    =   -9998   #controllerHasFixedHeight
    397 cannotSetWidthOfAttachedController  =   -9997   #cannotSetWidthOfAttachedController
    398 controllerBoundsNotExact    =   -9996   #controllerBoundsNotExact
    399 editingNotAllowed   =   -9995   #editingNotAllowed
    400 badControllerHeight =   -9994   #badControllerHeight
    401 deviceCantMeetRequest   =   -9408   #deviceCantMeetRequest
    402 seqGrabInfoNotAvailable =   -9407   #seqGrabInfoNotAvailable
    403 badSGChannel    =   -9406   #badSGChannel
    404 couldntGetRequiredComponent =   -9405   #couldntGetRequiredComponent
    405 notEnoughDiskSpaceToGrab    =   -9404   #notEnoughDiskSpaceToGrab
    406 notEnoughMemoryToGrab   =   -9403   #notEnoughMemoryToGrab
    407 cantDoThatInCurrentMode =   -9402   #cantDoThatInCurrentMode
    408 grabTimeComplete    =   -9401   #grabTimeComplete
    409 noDeviceForChannel  =   -9400   #noDeviceForChannel
    410 kNoCardBusCISErr    =   -9109   #No valid CIS exists for this CardBus card
    411 kNotZVCapableErr    =   -9108   #This socket does not support Zoomed Video
    412 kCardPowerOffErr    =   -9107   #Power to the card has been turned off
    413 kAttemptDupCardEntryErr =   -9106   #The Enabler was asked to create a duplicate card entry
    414 kAlreadySavedStateErr   =   -9105   #The state has been saved on previous call
    415 kTooManyIOWindowsErr    =   -9104   #device requested more than one I/O window
    416 kNotReadyErr    =   -9103   #PC Card failed to go ready
    417 kClientRequestDenied    =   -9102   #CS Clients should return this code inorder to
    418 kNoCompatibleNameErr    =   -9101   #There is no compatible driver name for this device
    419 kNoEnablerForCardErr    =   -9100   #No Enablers were found that can support the card
    420 kNoCardEnablersFoundErr =   -9099   #No Enablers were found
    421 kUnsupportedCardErr =   -9098   #Card not supported by generic enabler
    422 kNoClientTableErr   =   -9097   #The client table has not be initialized yet
    423 kNoMoreInterruptSlotsErr    =   -9096   #All internal Interrupt slots are in use
    424 kNoMoreTimerClientsErr  =   -9095   #All timer callbacks are in use
    425 kNoIOWindowRequestedErr =   -9094   #Request I/O window before calling configuration
    426 kBadCustomIFIDErr   =   -9093   #Custom interface ID is invalid
    427 kBadTupleDataErr    =   -9092   #Data in tuple is invalid
    428 kInvalidCSClientErr =   -9091   #Card Services ClientID is not registered
    429 kUnsupportedVsErr   =   -9090   #Unsupported Voltage Sense
    430 kInvalidDeviceNumber    =   -9089   #kInvalidDeviceNumber
    431 kPostCardEventErr   =   -9088   #_PCCSLPostCardEvent failed and dropped an event
    432 kCantConfigureCardErr   =   -9087   #kCantConfigureCardErr
    433 kPassCallToChainErr =   -9086   #kPassCallToChainErr
    434 kCardBusCardErr =   -9085   #kCardBusCardErr
    435 k16BitCardErr   =   -9084   #k16BitCardErr
    436 kBadDeviceErr   =   -9083   #kBadDeviceErr
    437 kBadLinkErr =   -9082   #kBadLinkErr
    438 kInvalidRegEntryErr =   -9081   #kInvalidRegEntryErr
    439 kNoCardSevicesSocketsErr    =   -9080   #kNoCardSevicesSocketsErr
    440 kOutOfResourceErr   =   -9079   #Card Services has exhausted the resource
    441 kNoMoreItemsErr =   -9078   #there are no more of the requested item
    442 kInUseErr   =   -9077   #requested resource is being used by a client
    443 kConfigurationLockedErr =   -9076   #a configuration has already been locked
    444 kWriteProtectedErr  =   -9075   #media is write-protected
    445 kBusyErr    =   -9074   #unable to process request at this time - try later
    446 kUnsupportedModeErr =   -9073   #mode is not supported
    447 kUnsupportedFunctionErr =   -9072   #function is not supported by this implementation
    448 kNoCardErr  =   -9071   #no PC card in the socket
    449 kGeneralFailureErr  =   -9070   #an undefined error has occurred
    450 kWriteFailureErr    =   -9069   #unable to complete write request
    451 kReadFailureErr =   -9068   #unable to complete read request
    452 kBadSpeedErr    =   -9067   #specified speed is unavailable
    453 kBadCISErr  =   -9066   #CIS on card is invalid
    454 kBadHandleErr   =   -9065   #clientHandle is invalid
    455 kBadArgsErr =   -9064   #values in argument packet are invalid
    456 kBadArgLengthErr    =   -9063   #ArgLength argument is invalid
    457 kBadWindowErr   =   -9062   #specified window is invalid
    458 kBadVppErr  =   -9061   #specified Vpp1 or Vpp2 power level index is invalid
    459 kBadVccErr  =   -9060   #specified Vcc power level index is invalid
    460 kBadTypeErr =   -9059   #specified window or interface type is invalid
    461 kBadSocketErr   =   -9058   #specified logical or physical socket number is invalid
    462 kBadSizeErr =   -9057   #specified size is invalid
    463 kBadPageErr =   -9056   #specified page is invalid
    464 kBadOffsetErr   =   -9055   #specified PC card memory array offset is invalid
    465 kBadIRQErr  =   -9054   #specified IRQ level is invalid
    466 kBadEDCErr  =   -9053   #specified EDC generator specified is invalid
    467 kBadBaseErr =   -9052   #specified base system memory address is invalid
    468 kBadAttributeErr    =   -9051   #specified attributes field value is invalid
    469 kBadAdapterErr  =   -9050   #invalid adapter number
    470 codecOffscreenFailedPleaseRetryErr  =   -8992   #codecOffscreenFailedPleaseRetryErr
    471 lockPortBitsWrongGDeviceErr =   -8991   #lockPortBitsWrongGDeviceErr
    472 directXObjectAlreadyExists  =   -8990   #directXObjectAlreadyExists
    473 codecDroppedFrameErr    =   -8989   #returned from ImageCodecDrawBand
    474 codecOffscreenFailedErr =   -8988   #codecOffscreenFailedErr
    475 codecNeedAccessKeyErr   =   -8987   #codec needs password in order to decompress
    476 codecParameterDialogConfirm =   -8986   #codecParameterDialogConfirm
    477 lockPortBitsSurfaceLostErr  =   -8985   #lockPortBitsSurfaceLostErr
    478 lockPortBitsBadPortErr  =   -8984   #lockPortBitsBadPortErr
    479 lockPortBitsWindowClippedErr    =   -8983   #lockPortBitsWindowClippedErr
    480 lockPortBitsWindowResizedErr    =   -8982   #lockPortBitsWindowResizedErr
    481 lockPortBitsWindowMovedErr  =   -8981   #lockPortBitsWindowMovedErr
    482 lockPortBitsBadSurfaceErr   =   -8980   #lockPortBitsBadSurfaceErr
    483 codecNeedToFlushChainErr    =   -8979   #codecNeedToFlushChainErr
    484 codecDisabledErr    =   -8978   #codec disabled itself -- pass codecFlagReenable to reset
    485 codecNoMemoryPleaseWaitErr  =   -8977   #codecNoMemoryPleaseWaitErr
    486 codecNothingToBlitErr   =   -8976   #codecNothingToBlitErr
    487 codecCantQueueErr   =   -8975   #codecCantQueueErr
    488 codecCantWhenErr    =   -8974   #codecCantWhenErr
    489 codecOpenErr    =   -8973   #codecOpenErr
    490 codecConditionErr   =   -8972   #codecConditionErr
    491 codecExtensionNotFoundErr   =   -8971   #codecExtensionNotFoundErr
    492 codecDataVersErr    =   -8970   #codecDataVersErr
    493 codecBadDataErr =   -8969   #codecBadDataErr
    494 codecWouldOffscreenErr  =   -8968   #codecWouldOffscreenErr
    495 codecAbortErr   =   -8967   #codecAbortErr
    496 codecSpoolErr   =   -8966   #codecSpoolErr
    497 codecImageBufErr    =   -8965   #codecImageBufErr
    498 codecScreenBufErr   =   -8964   #codecScreenBufErr
    499 codecSizeErr    =   -8963   #codecSizeErr
    500 codecUnimpErr   =   -8962   #codecUnimpErr
    501 noCodecErr  =   -8961   #noCodecErr
    502 codecErr    =   -8960   #codecErr
    503 kIllegalClockValueErr   =   -8852   #kIllegalClockValueErr
    504 kUTCOverflowErr =   -8851   #kUTCOverflowErr
    505 kUTCUnderflowErr    =   -8850   #kUTCUnderflowErr
    506 kATSULastErr    =   -8809   #The last ATSUI error code.
    507 kATSULineBreakInWord    =   -8808   #This is not an error code but is returned by ATSUBreakLine to
    508 kATSUCoordinateOverflowErr  =   -8807   #Used to indicate the coordinates provided to an ATSUI routine caused
    509 kATSUNoFontScalerAvailableErr   =   -8806   #Used when no font scaler is available for the font passed
    510 kATSUNoFontCmapAvailableErr =   -8805   #Used when no CMAP table can be accessed or synthesized for the
    511 kATSULowLevelErr    =   -8804   #Used when an error was encountered within the low level ATS
    512 kATSUQuickDrawTextErr   =   -8803   #Used when QuickDraw Text encounters an error rendering or measuring
    513 kATSUNoStyleRunsAssignedErr =   -8802   #Used when an attempt was made to measure, highlight or draw
    514 kATSUNotSetErr  =   -8801   #Used when the client attempts to retrieve an attribute,
    515 kATSUInvalidCacheErr    =   -8800   #Used when an attempt was made to read in style data
    516 kATSUInvalidAttributeTagErr =   -8799   #Used when an attempt was made to use a tag value that
    517 kATSUInvalidAttributeSizeErr    =   -8798   #Used when an attempt was made to use an attribute with a
    518 kATSUInvalidAttributeValueErr   =   -8797   #Used when an attempt was made to use an attribute with
    519 kATSUInvalidFontErr =   -8796   #Used when an attempt was made to use an invalid font ID.
    520 kATSUNoCorrespondingFontErr =   -8795   #This value is retrned by font ID conversion
    521 kATSUFontsNotMatched    =   -8794   #This value is returned by ATSUMatchFontsToText()
    522 kATSUFontsMatched   =   -8793   #This is not an error code but is returned by
    523 kATSUInvalidTextRangeErr    =   -8792   #An attempt was made to extract information
    524 kATSUInvalidStyleErr    =   -8791   #An attempt was made to use a ATSUStyle which
    525 kATSUInvalidTextLayoutErr   =   -8790   #An attempt was made to use a ATSUTextLayout
    526 kTECOutputBufferFullStatus  =   -8785   #output buffer has no room for conversion of next input text element (partial conversion)
    527 kTECNeedFlushStatus =   -8784   #kTECNeedFlushStatus
    528 kTECUsedFallbacksStatus =   -8783   #kTECUsedFallbacksStatus
    529 kTECItemUnavailableErr  =   -8771   #item (e.g. name) not available for specified region (& encoding if relevant)
    530 kTECGlobalsUnavailableErr   =   -8770   #globals have already been deallocated (premature TERM)
    531 unicodeChecksumErr  =   -8769   #unicodeChecksumErr
    532 unicodeNoTableErr   =   -8768   #unicodeNoTableErr
    533 unicodeVariantErr   =   -8767   #unicodeVariantErr
    534 unicodeFallbacksErr =   -8766   #unicodeFallbacksErr
    535 unicodePartConvertErr   =   -8765   #unicodePartConvertErr
    536 unicodeBufErr   =   -8764   #unicodeBufErr
    537 unicodeCharErr  =   -8763   #unicodeCharErr
    538 unicodeElementErr   =   -8762   #unicodeElementErr
    539 unicodeNotFoundErr  =   -8761   #unicodeNotFoundErr
    540 unicodeTableFormatErr   =   -8760   #unicodeTableFormatErr
    541 unicodeDirectionErr =   -8759   #unicodeDirectionErr
    542 unicodeContextualErr    =   -8758   #unicodeContextualErr
    543 unicodeTextEncodingDataErr  =   -8757   #unicodeTextEncodingDataErr
    544 kTECDirectionErr    =   -8756   #direction stack overflow, etc.
    545 kTECIncompleteElementErr    =   -8755   #text element may be incomplete or is too long for internal buffers
    546 kTECUnmappableElementErr    =   -8754   #kTECUnmappableElementErr
    547 kTECPartialCharErr  =   -8753   #input buffer ends in the middle of a multibyte character, conversion stopped
    548 kTECBadTextRunErr   =   -8752   #kTECBadTextRunErr
    549 kTECArrayFullErr    =   -8751   #supplied name buffer or TextRun, TextEncoding, or UnicodeMapping array is too small
    550 kTECBufferBelowMinimumSizeErr   =   -8750   #output buffer too small to allow processing of first input text element
    551 kTECNoConversionPathErr =   -8749   #kTECNoConversionPathErr
    552 kTECCorruptConverterErr =   -8748   #invalid converter object reference
    553 kTECTableFormatErr  =   -8747   #kTECTableFormatErr
    554 kTECTableChecksumErr    =   -8746   #kTECTableChecksumErr
    555 kTECMissingTableErr =   -8745   #kTECMissingTableErr
    556 kTextUndefinedElementErr    =   -8740   #text conversion errors
    557 kTextMalformedInputErr  =   -8739   #in DBCS, for example, high byte followed by invalid low byte
    558 kTextUnsupportedEncodingErr =   -8738   #specified encoding not supported for this operation
    559 kRANotEnabled   =   -7139   #kRANotEnabled
    560 kRACallBackFailed   =   -7138   #kRACallBackFailed
    561 kRADuplicateIPAddr  =   -7137   #kRADuplicateIPAddr
    562 kRANCPRejectedbyPeer    =   -7136   #kRANCPRejectedbyPeer
    563 kRAExtAuthenticationFailed  =   -7135   #kRAExtAuthenticationFailed
    564 kRAATalkInactive    =   -7134   #kRAATalkInactive
    565 kRAPeerNotResponding    =   -7133   #kRAPeerNotResponding
    566 kRAPPPPeerDisconnected  =   -7132   #kRAPPPPeerDisconnected
    567 kRAPPPUserDisconnected  =   -7131   #kRAPPPUserDisconnected
    568 kRAPPPNegotiationFailed =   -7130   #kRAPPPNegotiationFailed
    569 kRAPPPAuthenticationFailed  =   -7129   #kRAPPPAuthenticationFailed
    570 kRAPPPProtocolRejected  =   -7128   #kRAPPPProtocolRejected
    571 dcmBufferOverflowErr    =   -7127   #data is larger than buffer size
    572 kRANotPrimaryInterface  =   -7126   #when IPCP is not primary TCP/IP intf.
    573 kRATCPIPNotConfigured   =   -7125   #TCP/IP not configured, could be loaded
    574 kRATCPIPInactive    =   -7124   #TCP/IP inactive, cannot be loaded
    575 kRARemoteAccessNotReady =   -7123   #kRARemoteAccessNotReady
    576 kRAInitOpenTransportFailed  =   -7122   #kRAInitOpenTransportFailed
    577 dcmProtectedErr =   -7121   #need keyword to use dictionary
    578 kRAUserPwdEntryRequired =   -7120   #kRAUserPwdEntryRequired
    579 kRAUserPwdChangeRequired    =   -7119   #kRAUserPwdChangeRequired
    580 dcmBadFindMethodErr =   -7118   #no such find method supported
    581 kRAInvalidSerialProtocol    =   -7117   #kRAInvalidSerialProtocol
    582 kRAInvalidPortState =   -7116   #kRAInvalidPortState
    583 dcmBadKeyErr    =   -7115   #bad key information
    584 kRAPortBusy =   -7114   #kRAPortBusy
    585 kRAInstallationDamaged  =   -7113   #kRAInstallationDamaged
    586 dcmBadFieldTypeErr  =   -7112   #no such field type supported
    587 dcmBadFieldInfoErr  =   -7111   #incomplete information
    588 dcmNecessaryFieldErr    =   -7110   #lack required/identify field
    589 dcmDupRecordErr =   -7109   #same record already exist
    590 kRANotConnected =   -7108   #kRANotConnected
    591 dcmBlockFullErr =   -7107   #dictionary block full
    592 kRAMissingResources =   -7106   #kRAMissingResources
    593 dcmDictionaryBusyErr    =   -7105   #dictionary is busy
    594 dcmDictionaryNotOpenErr =   -7104   #dictionary not opened
    595 dcmPermissionErr    =   -7103   #invalid permission
    596 dcmBadDictionaryErr =   -7102   #invalid dictionary
    597 dcmNotDictionaryErr =   -7101   #not dictionary
    598 kRAInvalidParameter =   -7100   #kRAInvalidParameter
    599 laEngineNotFoundErr =   -7000   #can't find the engine
    600 laPropertyErr   =   -6999   #Error in properties
    601 kUSBUnknownDeviceErr    =   -6998   #device ref not recognised
    602 laPropertyIsReadOnlyErr =   -6997   #the property is read only
    603 laPropertyUnknownErr    =   -6996   #the property is unknown to this environment
    604 laPropertyValueErr  =   -6995   #Invalid property value
    605 laDictionaryTooManyErr  =   -6994   #too many dictionaries
    606 laDictionaryUnknownErr  =   -6993   #can't use this dictionary with this environment
    607 laDictionaryNotOpenedErr    =   -6992   #the dictionary is not opened
    608 laTextOverFlowErr   =   -6991   #text is too long
    609 laFailAnalysisErr   =   -6990   #analysis failed
    610 laNoMoreMorphemeErr =   -6989   #nothing to read
    611 laInvalidPathErr    =   -6988   #path is not correct
    612 kUSBNotHandled  =   -6987   #Notification was not handled   (same as NotFound)
    613 laEnvironmentNotFoundErr    =   -6986   #can't fint the specified environment
    614 laEnvironmentBusyErr    =   -6985   #specified environment is used
    615 laTooSmallBufferErr =   -6984   #output buffer is too small to store any result
    616 kUSBFlagsError  =   -6983   #Unused flags not zeroed
    617 kUSBAbortedError    =   -6982   #Pipe aborted
    618 kUSBNoBandwidthError    =   -6981   #Not enough bandwidth available
    619 kUSBPipeIdleError   =   -6980   #Pipe is Idle, it will not accept transactions
    620 kUSBPipeStalledError    =   -6979   #Pipe has stalled, error needs to be cleared
    621 kUSBUnknownInterfaceErr =   -6978   #Interface ref not recognised
    622 kUSBDeviceBusy  =   -6977   #Device is already being configured
    623 kUSBDevicePowerProblem  =   -6976   #Device has a power problem
    624 kUSBInvalidBuffer   =   -6975   #bad buffer, usually nil
    625 kUSBDeviceSuspended =   -6974   #Device is suspended
    626 kUSBDeviceNotSuspended  =   -6973   #device is not suspended for resume
    627 kUSBDeviceDisconnected  =   -6972   #Disconnected during suspend or reset
    628 kUSBTimedOut    =   -6971   #Transaction timed out.
    629 kUSBQueueAborted    =   -6970   #Pipe zero stall cleared.
    630 kUSBPortDisabled    =   -6969   #The port you are attached to is disabled, use USBDeviceReset.
    631 kUSBBadDispatchTable    =   -6950   #Improper driver dispatch table
    632 kUSBUnknownNotification =   -6949   #Notification type not defined
    633 kUSBQueueFull   =   -6948   #Internal queue maxxed
    634 kUSBLinkErr =   -6916   #kUSBLinkErr
    635 kUSBCRCErr  =   -6915   #Pipe stall, bad CRC
    636 kUSBBitstufErr  =   -6914   #Pipe stall, bitstuffing
    637 kUSBDataToggleErr   =   -6913   #Pipe stall, Bad data toggle
    638 kUSBEndpointStallErr    =   -6912   #Device didn't understand
    639 kUSBNotRespondingErr    =   -6911   #Pipe stall, No device, device hung
    640 kUSBPIDCheckErr =   -6910   #Pipe stall, PID CRC error
    641 kUSBWrongPIDErr =   -6909   #Pipe stall, Bad or wrong PID
    642 kUSBOverRunErr  =   -6908   #Packet too large or more data than buffer
    643 kUSBUnderRunErr =   -6907   #Less data than buffer
    644 kUSBRes1Err =   -6906   #kUSBRes1Err
    645 kUSBRes2Err =   -6905   #kUSBRes2Err
    646 kUSBBufOvrRunErr    =   -6904   #Host hardware failure on data in, PCI busy?
    647 kUSBBufUnderRunErr  =   -6903   #Host hardware failure on data out, PCI busy?
    648 kUSBNotSent1Err =   -6902   #Transaction not sent
    649 kUSBNotSent2Err =   -6901   #Transaction not sent
    650 kDMFoundErr =   -6232   #Did not proceed because we found an item
    651 kDMMainDisplayCannotMoveErr =   -6231   #Trying to move main display (or a display mirrored to it)
    652 kDMDisplayAlreadyInstalledErr   =   -6230   #Attempt to add an already installed display.
    653 kDMDisplayNotFoundErr   =   -6229   #Could not find item (will someday remove).
    654 kDMDriverNotDisplayMgrAwareErr  =   -6228   #Video Driver does not support display manager.
    655 kDMSWNotInitializedErr  =   -6227   #Required software not initialized (eg windowmanager or display mgr).
    656 kSysSWTooOld    =   -6226   #Missing critical pieces of System Software.
    657 kDMMirroringNotOn   =   -6225   #Returned by all calls that need mirroring to be on to do their thing.
    658 kDMCantBlock    =   -6224   #Mirroring is already on, cant Block now (call DMUnMirror() first).
    659 kDMMirroringBlocked =   -6223   #DMBlockMirroring() has been called.
    660 kDMWrongNumberOfDisplays    =   -6222   #Can only handle 2 displays for now.
    661 kDMMirroringOnAlready   =   -6221   #Returned by all calls that need mirroring to be off to do their thing.
    662 kDMGenErr   =   -6220   #Unexpected Error
    663 kQTSSUnknownErr =   -6150   #kQTSSUnknownErr
    664 collectionVersionErr    =   -5753   #collectionVersionErr
    665 collectionIndexRangeErr =   -5752   #collectionIndexRangeErr
    666 collectionItemNotFoundErr   =   -5751   #collectionItemNotFoundErr
    667 collectionItemLockedErr =   -5750   #collectionItemLockedErr
    668 kNavMissingKindStringErr    =   -5699   #kNavMissingKindStringErr
    669 kNavInvalidCustomControlMessageErr  =   -5698   #kNavInvalidCustomControlMessageErr
    670 kNavCustomControlMessageFailedErr   =   -5697   #kNavCustomControlMessageFailedErr
    671 kNavInvalidSystemConfigErr  =   -5696   #kNavInvalidSystemConfigErr
    672 kNavWrongDialogClassErr =   -5695   #kNavWrongDialogClassErr
    673 kNavWrongDialogStateErr =   -5694   #kNavWrongDialogStateErr
    674 dialogNoTimeoutErr  =   -5640   #dialogNoTimeoutErr
    675 menuInvalidErr  =   -5623   #menu is invalid
    676 menuItemNotFoundErr =   -5622   #specified menu item wasn't found
    677 menuUsesSystemDefErr    =   -5621   #GetMenuDefinition failed because the menu uses the system MDEF
    678 menuNotFoundErr =   -5620   #specified menu or menu ID wasn't found
    679 windowWrongStateErr =   -5615   #window is not in a state that is valid for the current action
    680 windowManagerInternalErr    =   -5614   #something really weird happened inside the window manager
    681 windowAttributesConflictErr =   -5613   #passed some attributes that are mutually exclusive
    682 windowAttributeImmutableErr =   -5612   #tried to change attributes which can't be changed
    683 errWindowDoesNotFitOnscreen =   -5611   #ConstrainWindowToScreen could not make the window fit onscreen
    684 errWindowNotFound   =   -5610   #returned from FindWindowOfClass
    685 errFloatingWindowsNotInitialized    =   -5609   #called HideFloatingWindows or ShowFloatingWindows without calling InitFloatingWindows
    686 errWindowsAlreadyInitialized    =   -5608   #tried to call InitFloatingWindows twice, or called InitWindows and then floating windows
    687 errUserWantsToDragWindow    =   -5607   #if returned from TrackWindowProxyDrag, you should call DragWindow on the window
    688 errCorruptWindowDescription =   -5606   #tried to load a corrupt window description (size or version fields incorrect)
    689 errUnrecognizedWindowClass  =   -5605   #tried to create a window with a bad WindowClass
    690 errWindowPropertyNotFound   =   -5604   #tried to get a nonexistent property
    691 errInvalidWindowProperty    =   -5603   #tried to access a property tag with private creator
    692 errWindowDoesNotHaveProxy   =   -5602   #tried to do something requiring a proxy to a window which doesnt have a proxy
    693 errUnsupportedWindowAttributesForClass  =   -5601   #tried to create a window with WindowAttributes not supported by the WindowClass
    694 errInvalidWindowPtr =   -5600   #tried to pass a bad WindowRef argument
    695 gestaltLocationErr  =   -5553   #gestalt function ptr wasn't in sysheap
    696 gestaltDupSelectorErr   =   -5552   #tried to add an entry that already existed
    697 gestaltUndefSelectorErr =   -5551   #undefined selector was passed to Gestalt
    698 gestaltUnknownErr   =   -5550   #value returned if Gestalt doesn't know the answer
    699 envVersTooBig   =   -5502   #Version bigger than call can handle
    700 envBadVers  =   -5501   #Version non-positive
    701 envNotPresent   =   -5500   #returned by glue.
    702 qtsAddressBusyErr   =   -5421   #qtsAddressBusyErr
    703 qtsConnectionFailedErr  =   -5420   #qtsConnectionFailedErr
    704 qtsTimeoutErr   =   -5408   #qtsTimeoutErr
    705 qtsUnknownValueErr  =   -5407   #qtsUnknownValueErr
    706 qtsTooMuchDataErr   =   -5406   #qtsTooMuchDataErr
    707 qtsUnsupportedFeatureErr    =   -5405   #qtsUnsupportedFeatureErr
    708 qtsUnsupportedRateErr   =   -5404   #qtsUnsupportedRateErr
    709 qtsUnsupportedDataTypeErr   =   -5403   #qtsUnsupportedDataTypeErr
    710 qtsBadDataErr   =   -5402   #something is wrong with the data
    711 qtsBadStateErr  =   -5401   #qtsBadStateErr
    712 qtsBadSelectorErr   =   -5400   #qtsBadSelectorErr
    713 errIAEndOfTextRun   =   -5388   #errIAEndOfTextRun
    714 errIATextExtractionErr  =   -5387   #errIATextExtractionErr
    715 errIAInvalidDocument    =   -5386   #errIAInvalidDocument
    716 errIACanceled   =   -5385   #errIACanceled
    717 errIABufferTooSmall =   -5384   #errIABufferTooSmall
    718 errIANoMoreItems    =   -5383   #errIANoMoreItems
    719 errIAParamErr   =   -5382   #errIAParamErr
    720 errIAAllocationErr  =   -5381   #errIAAllocationErr
    721 errIAUnknownErr =   -5380   #errIAUnknownErr
    722 hrURLNotHandledErr  =   -5363   #hrURLNotHandledErr
    723 hrUnableToResizeHandleErr   =   -5362   #hrUnableToResizeHandleErr
    724 hrMiscellaneousExceptionErr =   -5361   #hrMiscellaneousExceptionErr
    725 hrHTMLRenderingLibNotInstalledErr   =   -5360   #hrHTMLRenderingLibNotInstalledErr
    726 errCannotUndo   =   -5253   #errCannotUndo
    727 errNonContiuousAttribute    =   -5252   #errNonContiuousAttribute
    728 errUnknownElement   =   -5251   #errUnknownElement
    729 errReadOnlyText =   -5250   #errReadOnlyText
    730 errEmptyScrap   =   -5249   #errEmptyScrap
    731 errNoHiliteText =   -5248   #errNoHiliteText
    732 errOffsetNotOnElementBounday    =   -5247   #errOffsetNotOnElementBounday
    733 errInvalidRange =   -5246   #errInvalidRange
    734 errIteratorReachedEnd   =   -5245   #errIteratorReachedEnd
    735 errEngineNotFound   =   -5244   #errEngineNotFound
    736 errAlreadyInImagingMode =   -5243   #errAlreadyInImagingMode
    737 errNotInImagingMode =   -5242   #errNotInImagingMode
    738 errMarginWilllNotFit    =   -5241   #errMarginWilllNotFit
    739 errUnknownAttributeTag  =   -5240   #errUnknownAttributeTag
    740 afpSameNodeErr  =   -5063   #An Attempt was made to connect to a file server running on the same machine
    741 afpAlreadyMounted   =   -5062   #The volume is already mounted
    742 afpCantMountMoreSrvre   =   -5061   #The Maximum number of server connections has been reached
    743 afpBadDirIDType =   -5060   #afpBadDirIDType
    744 afpCallNotAllowed   =   -5048   #The server knows what you wanted to do, but won't let you do it just now
    745 afpAlreadyLoggedInErr   =   -5047   #User has been authenticated but is already logged in from another machine (and that's not allowed on this server)
    746 afpPwdPolicyErr =   -5046   #Password does not conform to servers password policy
    747 afpPwdNeedsChangeErr    =   -5045   #The password needs to be changed
    748 afpInsideTrashErr   =   -5044   #The folder being shared is inside the trash folder OR the shared folder is being moved into the trash folder
    749 afpInsideSharedErr  =   -5043   #The folder being shared is inside a shared folder OR the folder contains a shared folder and is being moved into a shared folder
    750 afpPwdExpiredErr    =   -5042   #The password being used is too old: this requires the user to change the password before log-in can continue
    751 afpPwdTooShortErr   =   -5041   #The password being set is too short: there is a minimum length that must be met or exceeded
    752 afpPwdSameErr   =   -5040   #Someone tried to change their password to the same password on a mantadory password change
    753 afpBadIDErr =   -5039   #afpBadIDErr
    754 afpSameObjectErr    =   -5038   #afpSameObjectErr
    755 afpCatalogChanged   =   -5037   #afpCatalogChanged
    756 afpDiffVolErr   =   -5036   #afpDiffVolErr
    757 afpIDExists =   -5035   #afpIDExists
    758 afpIDNotFound   =   -5034   #afpIDNotFound
    759 afpContainsSharedErr    =   -5033   #the folder being shared contains a shared folder
    760 afpObjectLocked =   -5032   #Object is M/R/D/W inhibited
    761 afpVolLocked    =   -5031   #Volume is Read-Only
    762 afpIconTypeError    =   -5030   #Icon size specified different from existing icon size
    763 afpDirNotFound  =   -5029   #Unknown directory specified
    764 afpCantRename   =   -5028   #AFPRename cannot rename volume
    765 afpServerGoingDown  =   -5027   #Server is shutting down
    766 afpTooManyFilesOpen =   -5026   #Maximum open file count reached
    767 afpObjectTypeErr    =   -5025   #File/Directory specified where Directory/File expected
    768 afpCallNotSupported =   -5024   #Unsupported AFP call was made
    769 afpUserNotAuth  =   -5023   #No AFPLogin call has successfully been made for this session
    770 afpSessClosed   =   -5022   #Session closed
    771 afpRangeOverlap =   -5021   #Some or all of range already locked by same user
    772 afpRangeNotLocked   =   -5020   #Tried to unlock range that was not locked by user
    773 afpParmErr  =   -5019   #A specified parameter was out of allowable range
    774 afpObjectNotFound   =   -5018   #Specified file or directory does not exist
    775 afpObjectExists =   -5017   #Specified destination file or directory already exists
    776 afpNoServer =   -5016   #Server not responding
    777 afpNoMoreLocks  =   -5015   #Maximum lock limit reached
    778 afpMiscErr  =   -5014   #Unexpected error encountered during execution
    779 afpLockErr  =   -5013   #Some or all of requested range is locked by another user
    780 afpItemNotFound =   -5012   #Unknown UserName/UserID or missing comment/APPL entry
    781 afpFlatVol  =   -5011   #Cannot create directory on specified volume
    782 afpFileBusy =   -5010   #Cannot delete an open file
    783 afpEofError =   -5009   #Read beyond logical end-of-file
    784 afpDiskFull =   -5008   #Insufficient free space on volume for operation
    785 afpDirNotEmpty  =   -5007   #Cannot delete non-empty directory
    786 afpDenyConflict =   -5006   #Specified open/deny modes conflict with current open modes
    787 afpCantMove =   -5005   #Move destination is offspring of source, or root was specified
    788 afpBitmapErr    =   -5004   #Bitmap contained bits undefined for call
    789 afpBadVersNum   =   -5003   #Unknown AFP protocol version number specified
    790 afpBadUAM   =   -5002   #Unknown user authentication method specified
    791 afpAuthContinue =   -5001   #Further information required to complete AFPLogin call
    792 afpAccessDenied =   -5000   #Insufficient access privileges for operation
    793 illegalScrapFlavorSizeErr   =   -4999   #illegalScrapFlavorSizeErr
    794 illegalScrapFlavorTypeErr   =   -4998   #illegalScrapFlavorTypeErr
    795 illegalScrapFlavorFlagsErr  =   -4997   #illegalScrapFlavorFlagsErr
    796 scrapFlavorSizeMismatchErr  =   -4996   #scrapFlavorSizeMismatchErr
    797 scrapFlavorFlagsMismatchErr =   -4995   #scrapFlavorFlagsMismatchErr
    798 nilScrapFlavorDataErr   =   -4994   #nilScrapFlavorDataErr
    799 noScrapPromiseKeeperErr =   -4993   #noScrapPromiseKeeperErr
    800 scrapPromiseNotKeptErr  =   -4992   #scrapPromiseNotKeptErr
    801 processStateIncorrectErr    =   -4991   #processStateIncorrectErr
    802 badScrapRefErr  =   -4990   #badScrapRefErr
    803 duplicateScrapFlavorErr =   -4989   #duplicateScrapFlavorErr
    804 internalScrapErr    =   -4988   #internalScrapErr
    805 coreFoundationUnknownErr    =   -4960   #coreFoundationUnknownErr
    806 badRoutingSizeErr   =   -4276   #badRoutingSizeErr
    807 routingNotFoundErr  =   -4275   #routingNotFoundErr
    808 duplicateRoutingErr =   -4274   #duplicateRoutingErr
    809 invalidFolderTypeErr    =   -4273   #invalidFolderTypeErr
    810 noMoreFolderDescErr =   -4272   #noMoreFolderDescErr
    811 duplicateFolderDescErr  =   -4271   #duplicateFolderDescErr
    812 badFolderDescErr    =   -4270   #badFolderDescErr
    813 cmCantGamutCheckError   =   -4217   #Gammut checking not supported by this ColorWorld
    814 cmNamedColorNotFound    =   -4216   #NamedColor not found
    815 cmCantCopyModifiedV1Profile =   -4215   #Illegal to copy version 1 profiles that have been modified
    816 cmRangeOverFlow =   -4214   #Color conversion warning that some output color values over/underflowed and were clipped
    817 cmInvalidProfileComment =   -4213   #Bad Profile comment during drawpicture
    818 cmNoGDevicesError   =   -4212   #Begin/End Matching -- no gdevices available
    819 cmInvalidDstMap =   -4211   #Destination pix/bit map was invalid
    820 cmInvalidSrcMap =   -4210   #Source pix/bit map was invalid
    821 cmInvalidColorSpace =   -4209   #Profile colorspace does not match bitmap type
    822 cmErrIncompatibleProfile    =   -4208   #Other ColorSync Errors
    823 cmSearchError   =   -4207   #cmSearchError
    824 cmInvalidSearch =   -4206   #Bad Search Handle
    825 cmInvalidProfileLocation    =   -4205   #Operation not supported for this profile location
    826 cmInvalidProfile    =   -4204   #A Profile must contain a 'cs1 ' tag to be valid
    827 cmFatalProfileErr   =   -4203   #cmFatalProfileErr
    828 cmCantDeleteElement =   -4202   #cmCantDeleteElement
    829 cmIndexRangeErr =   -4201   #Tag index out of range
    830 kNSLInitializationFailed    =   -4200   #UNABLE TO INITIALIZE THE MANAGER!!!!! DO NOT CONTINUE!!!!
    831 kNSLNotInitialized  =   -4199   #kNSLNotInitialized
    832 kNSLInsufficientSysVer  =   -4198   #kNSLInsufficientSysVer
    833 kNSLInsufficientOTVer   =   -4197   #kNSLInsufficientOTVer
    834 kNSLNoElementsInList    =   -4196   #kNSLNoElementsInList
    835 kNSLBadReferenceErr =   -4195   #kNSLBadReferenceErr
    836 kNSLBadServiceTypeErr   =   -4194   #kNSLBadServiceTypeErr
    837 kNSLBadDataTypeErr  =   -4193   #kNSLBadDataTypeErr
    838 kNSLBadNetConnection    =   -4192   #kNSLBadNetConnection
    839 kNSLNoSupportForService =   -4191   #kNSLNoSupportForService
    840 kNSLInvalidPluginSpec   =   -4190   #kNSLInvalidPluginSpec
    841 kNSLRequestBufferAlreadyInList  =   -4189   #kNSLRequestBufferAlreadyInList
    842 kNSLNoContextAvailable  =   -4188   #(ContinueLookup function ptr invalid)
    843 kNSLBufferTooSmallForData   =   -4187   #(Client buffer too small for data from plugin)
    844 kNSLCannotContinueLookup    =   -4186   #(Can't continue lookup; error or bad state)
    845 kNSLBadClientInfoPtr    =   -4185   #(nil ClientAsyncInfoPtr; no reference available)
    846 kNSLNullListPtr =   -4184   #(client is trying to add items to a nil list)
    847 kNSLBadProtocolTypeErr  =   -4183   #(client is trying to add a null protocol type)
    848 kNSLPluginLoadFailed    =   -4182   #(manager unable to load one of the plugins)
    849 kNSLNoPluginsFound  =   -4181   #(manager didn't find any valid plugins to load)
    850 kNSLSearchAlreadyInProgress =   -4180   #(you can only have one ongoing search per clientRef)
    851 kNSLNoPluginsForSearch  =   -4179   #(no plugins will respond to search request; bad protocol(s)?)
    852 kNSLNullNeighborhoodPtr =   -4178   #(client passed a null neighborhood ptr)
    853 kNSLSomePluginsFailedToLoad =   -4177   #(one or more plugins failed to load, but at least one did load; this error isn't fatal)
    854 kNSLErrNullPtrError =   -4176   #kNSLErrNullPtrError
    855 kNSLNotImplementedYet   =   -4175   #kNSLNotImplementedYet
    856 kNSLUILibraryNotAvailable   =   -4174   #The NSL UI Library needs to be in the Extensions Folder
    857 kNSLNoCarbonLib =   -4173   #kNSLNoCarbonLib
    858 kNSLBadURLSyntax    =   -4172   #URL contains illegal characters
    859 kNSLSchedulerError  =   -4171   #A custom thread routine encountered an error
    860 kNSL68kContextNotSupported  =   -4170   #no 68k allowed
    861 noHelpForItem   =   -4009   #noHelpForItem
    862 badProfileError =   -4008   #badProfileError
    863 colorSyncNotInstalled   =   -4007   #colorSyncNotInstalled
    864 pickerCantLive  =   -4006   #pickerCantLive
    865 cantLoadPackage =   -4005   #cantLoadPackage
    866 cantCreatePickerWindow  =   -4004   #cantCreatePickerWindow
    867 cantLoadPicker  =   -4003   #cantLoadPicker
    868 pickerResourceError =   -4002   #pickerResourceError
    869 requiredFlagsDontMatch  =   -4001   #requiredFlagsDontMatch
    870 firstPickerError    =   -4000   #firstPickerError
    871 kOTPortLostConnection   =   -3285   #
    872 kOTUserRequestedErr =   -3284   #
    873 kOTConfigurationChangedErr  =   -3283   #
    874 kOTBadConfigurationErr  =   -3282   #
    875 kOTPortWasEjectedErr    =   -3281   #
    876 kOTPortHasDiedErr   =   -3280   #
    877 kOTClientNotInittedErr  =   -3279   #
    878 kENOMSGErr  =   -3278   #
    879 kESRCHErr   =   -3277   #
    880 kEINPROGRESSErr =   -3276   #
    881 kENODATAErr =   -3275   #
    882 kENOSTRErr  =   -3274   #
    883 kECANCELErr =   -3273   #
    884 kEBADMSGErr =   -3272   #
    885 kENOSRErr   =   -3271   #
    886 kETIMEErr   =   -3270   #
    887 kEPROTOErr  =   -3269   # fill out missing codes 
    888 kEHOSTUNREACHErr    =   -3264   #No route to host
    889 kEHOSTDOWNErr   =   -3263   #Host is down
    890 kECONNREFUSEDErr    =   -3260   #Connection refused
    891 kETIMEDOUTErr   =   -3259   #Connection timed out
    892 kETOOMANYREFSErr    =   -3258   #Too many references: can't splice
    893 kESHUTDOWNErr   =   -3257   #Can't send after socket shutdown
    894 kENOTCONNErr    =   -3256   #Socket is not connected
    895 kEISCONNErr =   -3255   #Socket is already connected
    896 kENOBUFSErr =   -3254   #No buffer space available
    897 kECONNRESETErr  =   -3253   #Connection reset by peer
    898 kECONNABORTEDErr    =   -3252   #Software caused connection abort
    899 kENETRESETErr   =   -3251   #Network dropped connection on reset
    900 kENETUNREACHErr =   -3250   #Network is unreachable
    901 kENETDOWNErr    =   -3249   #Network is down
    902 kEADDRNOTAVAILErr   =   -3248   #Can't assign requested address
    903 kEADDRINUSEErr  =   -3247   #Address already in use
    904 kEOPNOTSUPPErr  =   -3244   #Operation not supported on socket
    905 kESOCKTNOSUPPORTErr =   -3243   #Socket type not supported
    906 kEPROTONOSUPPORTErr =   -3242   #Protocol not supported
    907 kENOPROTOOPTErr =   -3241   #Protocol not available
    908 kEPROTOTYPEErr  =   -3240   #Protocol wrong type for socket
    909 kEMSGSIZEErr    =   -3239   #Message too long
    910 kEDESTADDRREQErr    =   -3238   #Destination address required
    911 kENOTSOCKErr    =   -3237   #Socket operation on non-socket
    912 kEALREADYErr    =   -3236   #
    913 kEWOULDBLOCKErr =   -3234   #Call would block, so was aborted
    914 kERANGEErr  =   -3233   #Message size too large for STREAM
    915 kEPIPEErr   =   -3231   #Broken pipe
    916 kENOTTYErr  =   -3224   #Not a character device
    917 kEINVALErr  =   -3221   #Invalid argument
    918 kENODEVErr  =   -3218   #No such device
    919 kOTDuplicateFoundErr    =   -3216   #OT generic duplicate found error
    920 kEBUSYErr   =   -3215   #Device or resource busy
    921 kEFAULTErr  =   -3213   #Bad address
    922 kEACCESErr  =   -3212   #Permission denied
    923 kOTOutOfMemoryErr   =   -3211   #OT ran out of memory, may be a temporary
    924 kEAGAINErr  =   -3210   #Try operation again later
    925 kEBADFErr   =   -3208   #Bad file number
    926 kENXIOErr   =   -3205   #No such device or address
    927 kEIOErr =   -3204   #I/O error
    928 kEINTRErr   =   -3203   #Interrupted system service
    929 kENORSRCErr =   -3202   #No such resource
    930 kOTNotFoundErr  =   -3201   #OT generic not found error
    931 kEPERMErr   =   -3200   #Permission denied
    932 kOTCanceledErr  =   -3180   #XTI2OSStatus(TCANCELED) The command was cancelled
    933 kOTBadSyncErr   =   -3179   #XTI2OSStatus(TBADSYNC) A synchronous call at interrupt time
    934 kOTProtocolErr  =   -3178   #XTI2OSStatus(TPROTO) An unspecified provider error occurred
    935 kOTQFullErr =   -3177   #XTI2OSStatus(TQFULL)
    936 kOTResAddressErr    =   -3176   #XTI2OSStatus(TRESADDR)
    937 kOTResQLenErr   =   -3175   #XTI2OSStatus(TRESQLEN)
    938 kOTProviderMismatchErr  =   -3174   #XTI2OSStatus(TPROVMISMATCH) Tried to accept on incompatible endpoint
    939 kOTIndOutErr    =   -3173   #XTI2OSStatus(TINDOUT) Accept failed because of pending listen
    940 kOTAddressBusyErr   =   -3172   #XTI2OSStatus(TADDRBUSY) Address requested is already in use
    941 kOTBadQLenErr   =   -3171   #XTI2OSStatus(TBADQLEN) A Bind to an in-use addr with qlen > 0
    942 kOTBadNameErr   =   -3170   #XTI2OSStatus(TBADNAME) A bad endpoint name was supplied
    943 kOTNoStructureTypeErr   =   -3169   #XTI2OSStatus(TNOSTRUCTYPE) Bad structure type requested for OTAlloc
    944 kOTStateChangeErr   =   -3168   #XTI2OSStatus(TSTATECHNG) State is changing - try again later
    945 kOTNotSupportedErr  =   -3167   #XTI2OSStatus(TNOTSUPPORT) Command is not supported
    946 kOTNoReleaseErr =   -3166   #XTI2OSStatus(TNOREL) No orderly release indication available
    947 kOTBadFlagErr   =   -3165   #XTI2OSStatus(TBADFLAG) A Bad flag value was supplied
    948 kOTNoUDErrErr   =   -3164   #XTI2OSStatus(TNOUDERR) No Unit Data Error indication available
    949 kOTNoDisconnectErr  =   -3163   #XTI2OSStatus(TNODIS) No disconnect indication available
    950 kOTNoDataErr    =   -3162   #XTI2OSStatus(TNODATA) No data available for reading
    951 kOTFlowErr  =   -3161   #XTI2OSStatus(TFLOW) Provider is flow-controlled
    952 kOTBufferOverflowErr    =   -3160   #XTI2OSStatus(TBUFOVFLW) Passed buffer not big enough
    953 kOTBadDataErr   =   -3159   #XTI2OSStatus(TBADDATA) An illegal amount of data was specified
    954 kOTLookErr  =   -3158   #XTI2OSStatus(TLOOK) An event occurred - call Look()
    955 kOTSysErrorErr  =   -3157   #XTI2OSStatus(TSYSERR) A system error occurred
    956 kOTBadSequenceErr   =   -3156   #XTI2OSStatus(TBADSEQ) Sequence specified does not exist
    957 kOTOutStateErr  =   -3155   #XTI2OSStatus(TOUTSTATE) Call issued in wrong state
    958 kOTNoAddressErr =   -3154   #XTI2OSStatus(TNOADDR) No address was specified
    959 kOTBadReferenceErr  =   -3153   #XTI2OSStatus(TBADF) Bad provider reference
    960 kOTAccessErr    =   -3152   #XTI2OSStatus(TACCES) Missing access permission
    961 kOTBadOptionErr =   -3151   #XTI2OSStatus(TBADOPT) A Bad option was specified
    962 kOTBadAddressErr    =   -3150   #XTI2OSStatus(TBADADDR) A Bad address was specified
    963 sktClosedErr    =   -3109   #sktClosedErr
    964 recNotFnd   =   -3108   #recNotFnd
    965 atpBadRsp   =   -3107   #atpBadRsp
    966 atpLenErr   =   -3106   #atpLenErr
    967 readQErr    =   -3105   #readQErr
    968 extractErr  =   -3104   #extractErr
    969 ckSumErr    =   -3103   #ckSumErr
    970 noMPPErr    =   -3102   #noMPPErr
    971 buf2SmallErr    =   -3101   #buf2SmallErr
    972 noPrefAppErr    =   -3032   #noPrefAppErr
    973 badTranslationSpecErr   =   -3031   #badTranslationSpecErr
    974 noTranslationPathErr    =   -3030   #noTranslationPathErr
    975 couldNotParseSourceFileErr  =   -3026   #Source document does not contain source type
    976 invalidTranslationPathErr   =   -3025   #Source type to destination type not a valid path
    977 retryComponentRegistrationErr   =   -3005   #retryComponentRegistrationErr
    978 unresolvedComponentDLLErr   =   -3004   #unresolvedComponentDLLErr
    979 componentDontRegister   =   -3003   #componentDontRegister
    980 componentNotCaptured    =   -3002   #componentNotCaptured
    981 validInstancesExist =   -3001   #validInstancesExist
    982 invalidComponentID  =   -3000   #invalidComponentID
    983 cfragLastErrCode    =   -2899   #The last value in the range of CFM errors.
    984 cfragOutputLengthErr    =   -2831   #An output parameter is too small to hold the value.
    985 cfragAbortClosureErr    =   -2830   #Used by notification handlers to abort a closure.
    986 cfragClosureIDErr   =   -2829   #The closure ID was not valid.
    987 cfragContainerIDErr =   -2828   #The fragment container ID was not valid.
    988 cfragNoRegistrationErr  =   -2827   #The registration name was not found.
    989 cfragNotClosureErr  =   -2826   #The closure ID was actually a connection ID.
    990 cfragFileSizeErr    =   -2825   #A file was too large to be mapped.
    991 cfragFragmentUsageErr   =   -2824   #A semantic error in usage of the fragment.
    992 cfragArchitectureErr    =   -2823   #A fragment has an unacceptable architecture.
    993 cfragNoApplicationErr   =   -2822   #No application member found in the cfrg resource.
    994 cfragInitFunctionErr    =   -2821   #A fragment's initialization routine returned an error.
    995 cfragFragmentCorruptErr =   -2820   #A fragment's container was corrupt (known format).
    996 cfragCFMInternalErr =   -2819   #An internal inconstistancy has been detected.
    997 cfragCFMStartupErr  =   -2818   #Internal error during CFM initialization.
    998 cfragLibConnErr =   -2817   #
    999 cfragInitAtBootErr  =   -2816   #A boot library has an initialization function.  (System 7 only)
   1000 cfragInitLoopErr    =   -2815   #Circularity in required initialization order.
   1001 cfragImportTooNewErr    =   -2814   #An import library was too new for a client.
   1002 cfragImportTooOldErr    =   -2813   #An import library was too old for a client.
   1003 cfragInitOrderErr   =   -2812   #
   1004 cfragNoIDsErr   =   -2811   #No more CFM IDs for contexts, connections, etc.
   1005 cfragNoClientMemErr =   -2810   #Out of memory for fragment mapping or section instances.
   1006 cfragNoPrivateMemErr    =   -2809   #Out of memory for internal bookkeeping.
   1007 cfragNoPositionErr  =   -2808   #The registration insertion point was not found.
   1008 cfragUnresolvedErr  =   -2807   #A fragment had "hard" unresolved imports.
   1009 cfragFragmentFormatErr  =   -2806   #A fragment's container format is unknown.
   1010 cfragDupRegistrationErr =   -2805   #The registration name was already in use.
   1011 cfragNoLibraryErr   =   -2804   #The named library was not found.
   1012 cfragNoSectionErr   =   -2803   #The specified section was not found.
   1013 cfragNoSymbolErr    =   -2802   #The specified symbol was not found.
   1014 cfragConnectionIDErr    =   -2801   #The connection ID was not valid.
   1015 cfragFirstErrCode   =   -2800   #The first value in the range of CFM errors.
   1016 errASInconsistentNames  =   -2780   #English errors:
   1017 errASNoResultReturned   =   -2763   #The range -2780 thru -2799 is reserved for dialect specific error codes. (Error codes from different dialects may overlap.)
   1018 errASParameterNotForEvent   =   -2762   #errASParameterNotForEvent
   1019 errASIllegalFormalParameter =   -2761   #errASIllegalFormalParameter
   1020 errASTerminologyNestingTooDeep  =   -2760   #errASTerminologyNestingTooDeep
   1021 OSAControlFlowError =   -2755   #Signaled when illegal control flow occurs in an application (no catcher for throw, non-lexical loop exit, etc.)
   1022 OSAInconsistentDeclarations =   -2754   #Signaled when a variable is declared inconsistently in the same scope, such as both local and global
   1023 OSAUndefinedVariable    =   -2753   #Signaled when a variable is accessed that has no value
   1024 OSADuplicateHandler =   -2752   #Signaled when more than one handler is defined with the same name in a scope where the language doesn't allow it
   1025 OSADuplicateProperty    =   -2751   #Signaled when a formal parameter, local variable, or instance variable is specified more than once.
   1026 OSADuplicateParameter   =   -2750   #Signaled when a formal parameter, local variable, or instance variable is specified more than once
   1027 OSATokenTooLong =   -2742   #Signaled when a name or number is too long to be parsed
   1028 OSASyntaxTypeError  =   -2741   #Signaled when another form of syntax was expected. (e.g. "expected a <type> but found <this>")
   1029 OSASyntaxError  =   -2740   #Signaled when a syntax error occurs. (e.g. "Syntax error" or "<this> can't go after <that>")
   1030 errASCantCompareMoreThan32k =   -2721   #Parser/Compiler errors:
   1031 errASCantConsiderAndIgnore  =   -2720   #errASCantConsiderAndIgnore
   1032 errOSACantCreate    =   -2710   #errOSACantCreate
   1033 errOSACantGetTerminology    =   -2709   #errOSACantGetTerminology
   1034 errOSADataBlockTooLarge =   -2708   #Signaled when an intrinsic limitation is exceeded for the size of a value or data structure.
   1035 errOSAInternalTableOverflow =   -2707   #Signaled when a runtime internal data structure overflows
   1036 errOSAStackOverflow =   -2706   #Signaled when the runtime stack overflows
   1037 errOSACorruptTerminology    =   -2705   #Signaled when an application's terminology resource is not readable
   1038 errOSAAppNotHighLevelEventAware =   -2704   #Signaled when an application can't respond to AppleEvents
   1039 errOSACantLaunch    =   -2703   #Signaled when application can't be launched or when it is remote and program linking is not enabled
   1040 errOSANumericOverflow   =   -2702   #Signaled when integer or real value is too large to be represented
   1041 errOSADivideByZero  =   -2701   #Signaled when there is an attempt to divide by zero
   1042 errOSAGeneralError  =   -2700   #Signaled by user scripts or applications when no actual error code is to be returned.
   1043 noIconDataAvailableErr  =   -2582   #The necessary icon data is not available
   1044 noSuchIconErr   =   -2581   #The requested icon could not be found
   1045 invalidIconRefErr   =   -2580   #The icon ref is not valid
   1046 nrCallNotSupported  =   -2557   #This call is not available or supported on this machine
   1047 nrTransactionAborted    =   -2556   #transaction was aborted
   1048 nrExitedIteratorScope   =   -2555   #outer scope of iterator was exited
   1049 nrIterationDone =   -2554   #iteration operation is done
   1050 nrPropertyAlreadyExists =   -2553   #property already exists
   1051 nrInvalidEntryIterationOp   =   -2552   #invalid entry iteration operation
   1052 nrPathBufferTooSmall    =   -2551   #buffer for path is too small
   1053 nrPathNotFound  =   -2550   #a path component lookup failed
   1054 nrResultCodeBase    =   -2549   #nrResultCodeBase
   1055 nrOverrunErr    =   -2548   #nrOverrunErr
   1056 nrNotModifiedErr    =   -2547   #nrNotModifiedErr
   1057 nrTypeMismatchErr   =   -2546   #nrTypeMismatchErr
   1058 nrPowerSwitchAbortErr   =   -2545   #nrPowerSwitchAbortErr
   1059 nrPowerErr  =   -2544   #nrPowerErr
   1060 nrDataTruncatedErr  =   -2543   #nrDataTruncatedErr
   1061 nrNotSlotDeviceErr  =   -2542   #nrNotSlotDeviceErr
   1062 nrNameErr   =   -2541   #nrNameErr
   1063 nrNotCreatedErr =   -2540   #nrNotCreatedErr
   1064 nrNotFoundErr   =   -2539   #nrNotFoundErr
   1065 nrInvalidNodeErr    =   -2538   #nrInvalidNodeErr
   1066 nrNotEnoughMemoryErr    =   -2537   #nrNotEnoughMemoryErr
   1067 nrLockedErr =   -2536   #nrLockedErr
   1068 mmInternalError =   -2526   #mmInternalError
   1069 tsmDefaultIsNotInputMethodErr   =   -2524   #Current Input source is KCHR or uchr, not Input Method  (GetDefaultInputMethod)
   1070 tsmNoStem   =   -2523   #No stem exists for the token
   1071 tsmNoMoreTokens =   -2522   #No more tokens are available for the source text
   1072 tsmNoHandler    =   -2521   #No Callback Handler exists for callback
   1073 tsmInvalidContext   =   -2520   #Invalid TSMContext specified in call
   1074 tsmUnknownErr   =   -2519   #any other errors
   1075 tsmUnsupportedTypeErr   =   -2518   #unSupported interface type error
   1076 tsmScriptHasNoIMErr =   -2517   #script has no imput method or is using old IM
   1077 tsmInputMethodIsOldErr  =   -2516   #returned by GetDefaultInputMethod
   1078 tsmComponentAlreadyOpenErr  =   -2515   #text service already opened for the document
   1079 tsmTSNotOpenErr =   -2514   #text service is not open
   1080 tsmTSHasNoMenuErr   =   -2513   #the text service has no menu
   1081 tsmUseInputWindowErr    =   -2512   #not TSM aware because we are using input window
   1082 tsmDocumentOpenErr  =   -2511   #there are open documents
   1083 tsmTextServiceNotFoundErr   =   -2510   #no text service found
   1084 tsmCantOpenComponentErr =   -2509   #cant open the component
   1085 tsmNoOpenTSErr  =   -2508   #no open text service
   1086 tsmDocNotActiveErr  =   -2507   #document is NOT active
   1087 tsmTSMDocBusyErr    =   -2506   #document is still active
   1088 tsmInvalidDocIDErr  =   -2505   #invalid TSM documentation id
   1089 tsmNeverRegisteredErr   =   -2504   #app never registered error (not TSM aware)
   1090 tsmAlreadyRegisteredErr =   -2503   #want to register again error
   1091 tsmNotAnAppErr  =   -2502   #not an application error
   1092 tsmInputMethodNotFoundErr   =   -2501   #tsmInputMethodNotFoundErr
   1093 tsmUnsupScriptLanguageErr   =   -2500   #tsmUnsupScriptLanguageErr
   1094 kernelUnrecoverableErr  =   -2499   #kernelUnrecoverableErr
   1095 kernelReturnValueErr    =   -2422   #kernelReturnValueErr
   1096 kernelAlreadyFreeErr    =   -2421   #kernelAlreadyFreeErr
   1097 kernelIDErr =   -2419   #kernelIDErr
   1098 kernelExceptionErr  =   -2418   #kernelExceptionErr
   1099 kernelTerminatedErr =   -2417   #kernelTerminatedErr
   1100 kernelInUseErr  =   -2416   #kernelInUseErr
   1101 kernelTimeoutErr    =   -2415   #kernelTimeoutErr
   1102 kernelAsyncReceiveLimitErr  =   -2414   #kernelAsyncReceiveLimitErr
   1103 kernelAsyncSendLimitErr =   -2413   #kernelAsyncSendLimitErr
   1104 kernelAttributeErr  =   -2412   #kernelAttributeErr
   1105 kernelExecutionLevelErr =   -2411   #kernelExecutionLevelErr
   1106 kernelDeletePermissionErr   =   -2410   #kernelDeletePermissionErr
   1107 kernelExecutePermissionErr  =   -2409   #kernelExecutePermissionErr
   1108 kernelReadPermissionErr =   -2408   #kernelReadPermissionErr
   1109 kernelWritePermissionErr    =   -2407   #kernelWritePermissionErr
   1110 kernelObjectExistsErr   =   -2406   #kernelObjectExistsErr
   1111 kernelUnsupportedErr    =   -2405   #kernelUnsupportedErr
   1112 kernelPrivilegeErr  =   -2404   #kernelPrivilegeErr
   1113 kernelOptionsErr    =   -2403   #kernelOptionsErr
   1114 kernelCanceledErr   =   -2402   #kernelCanceledErr
   1115 kernelIncompleteErr =   -2401   #kernelIncompleteErr
   1116 badCallOrderErr =   -2209   #Usually due to a status call being called prior to being setup first
   1117 noDMAErr    =   -2208   #Cant do DMA digitizing (i.e. can't go to requested dest
   1118 badDepthErr =   -2207   #Cant digitize into this depth
   1119 notExactSizeErr =   -2206   #Cant do exact size requested
   1120 noMoreKeyColorsErr  =   -2205   #all key indexes in use
   1121 notExactMatrixErr   =   -2204   #warning of bad matrix, digitizer did its best
   1122 matrixErr   =   -2203   #bad matrix, digitizer did nothing
   1123 qtParamErr  =   -2202   #bad input parameter (out of range, etc)
   1124 digiUnimpErr    =   -2201   #feature unimplemented
   1125 qtXMLApplicationErr =   -2159   #qtXMLApplicationErr
   1126 qtXMLParseErr   =   -2158   #qtXMLParseErr
   1127 qtActionNotHandledErr   =   -2157   #qtActionNotHandledErr
   1128 notEnoughDataErr    =   -2149   #notEnoughDataErr
   1129 urlDataHFTPURLErr   =   -2148   #urlDataHFTPURLErr
   1130 urlDataHFTPServerDisconnectedErr    =   -2147   #urlDataHFTPServerDisconnectedErr
   1131 urlDataHFTPNoPasswordErr    =   -2146   #urlDataHFTPNoPasswordErr
   1132 urlDataHFTPNeedPasswordErr  =   -2145   #urlDataHFTPNeedPasswordErr
   1133 urlDataHFTPBadNameListErr   =   -2144   #urlDataHFTPBadNameListErr
   1134 urlDataHFTPNoNetDriverErr   =   -2143   #urlDataHFTPNoNetDriverErr
   1135 urlDataHFTPFilenameErr  =   -2142   #urlDataHFTPFilenameErr
   1136 urlDataHFTPPermissionsErr   =   -2141   #urlDataHFTPPermissionsErr
   1137 urlDataHFTPQuotaErr =   -2140   #urlDataHFTPQuotaErr
   1138 urlDataHFTPNoDirectoryErr   =   -2139   #urlDataHFTPNoDirectoryErr
   1139 urlDataHFTPDataConnectionErr    =   -2138   #urlDataHFTPDataConnectionErr
   1140 urlDataHFTPServerErr    =   -2137   #urlDataHFTPServerErr
   1141 urlDataHFTPBadPasswordErr   =   -2136   #urlDataHFTPBadPasswordErr
   1142 urlDataHFTPBadUserErr   =   -2135   #urlDataHFTPBadUserErr
   1143 urlDataHFTPShutdownErr  =   -2134   #urlDataHFTPShutdownErr
   1144 urlDataHFTPProtocolErr  =   -2133   #urlDataHFTPProtocolErr
   1145 urlDataHHTTPRedirectErr =   -2132   #urlDataHHTTPRedirectErr
   1146 urlDataHHTTPURLErr  =   -2131   #urlDataHHTTPURLErr
   1147 urlDataHHTTPNoNetDriverErr  =   -2130   #urlDataHHTTPNoNetDriverErr
   1148 urlDataHHTTPProtocolErr =   -2129   #urlDataHHTTPProtocolErr
   1149 qtNetworkAlreadyAllocatedErr    =   -2127   #qtNetworkAlreadyAllocatedErr
   1150 notAllowedToSaveMovieErr    =   -2126   #notAllowedToSaveMovieErr
   1151 fileOffsetTooBigErr =   -2125   #fileOffsetTooBigErr
   1152 ASDEntryNotFoundErr =   -2124   #ASDEntryNotFoundErr
   1153 ASDBadForkErr   =   -2123   #ASDBadForkErr
   1154 ASDBadHeaderErr =   -2122   #ASDBadHeaderErr
   1155 AAPNotFoundErr  =   -2121   #AAPNotFoundErr
   1156 AAPNotCreatedErr    =   -2120   #AAPNotCreatedErr
   1157 qfcbNotCreatedErr   =   -2119   #qfcbNotCreatedErr
   1158 qfcbNotFoundErr =   -2118   #qfcbNotFoundErr
   1159 wackBadMetaDataErr  =   -2117   #wackBadMetaDataErr
   1160 wackForkNotFoundErr =   -2116   #wackForkNotFoundErr
   1161 wackBadFileErr  =   -2115   #wackBadFileErr
   1162 unknownFormatErr    =   -2114   #unknownFormatErr
   1163 pathNotVerifiedErr  =   -2113   #pathNotVerifiedErr
   1164 noPathMappingErr    =   -2112   #noPathMappingErr
   1165 emptyPathErr    =   -2111   #emptyPathErr
   1166 pathTooLongErr  =   -2110   #pathTooLongErr
   1167 cannotBeLeafAtomErr =   -2109   #cannotBeLeafAtomErr
   1168 invalidAtomTypeErr  =   -2108   #invalidAtomTypeErr
   1169 invalidAtomContainerErr =   -2107   #invalidAtomContainerErr
   1170 invalidAtomErr  =   -2106   #invalidAtomErr
   1171 duplicateAtomTypeAndIDErr   =   -2105   #duplicateAtomTypeAndIDErr
   1172 atomIndexInvalidErr =   -2104   #atomIndexInvalidErr
   1173 atomsNotOfSameTypeErr   =   -2103   #atomsNotOfSameTypeErr
   1174 notLeafAtomErr  =   -2102   #notLeafAtomErr
   1175 cannotFindAtomErr   =   -2101   #cannotFindAtomErr
   1176 unsupportedProcessorErr =   -2097   #unsupportedProcessorErr
   1177 unsupportedOSErr    =   -2096   #unsupportedOSErr
   1178 qtmlUninitialized   =   -2095   #qtmlUninitialized
   1179 qtmlDllEntryNotFoundErr =   -2094   #Windows specific errors (when qtml is loading)
   1180 qtmlDllLoadErr  =   -2093   #Windows specific errors (when qtml is loading)
   1181 componentDllEntryNotFoundErr    =   -2092   #Windows specific errors (when component is loading)
   1182 componentDllLoadErr =   -2091   #Windows specific errors (when component is loading)
   1183 videoOutputInUseErr =   -2090   #videoOutputInUseErr
   1184 noExportProcAvailableErr    =   -2089   #noExportProcAvailableErr
   1185 tuneParseOSErr  =   -2087   #tuneParseOSErr
   1186 tunePlayerFullOSErr =   -2086   #tunePlayerFullOSErr
   1187 noteChannelNotAllocatedOSErr    =   -2085   #noteChannelNotAllocatedOSErr
   1188 illegalNoteChannelOSErr =   -2084   #illegalNoteChannelOSErr
   1189 synthesizerOSErr    =   -2083   #synthesizerOSErr
   1190 synthesizerNotRespondingOSErr   =   -2082   #synthesizerNotRespondingOSErr
   1191 midiManagerAbsentOSErr  =   -2081   #midiManagerAbsentOSErr
   1192 illegalControllerOSErr  =   -2080   #illegalControllerOSErr
   1193 illegalInstrumentOSErr  =   -2079   #illegalInstrumentOSErr
   1194 illegalKnobValueOSErr   =   -2078   #illegalKnobValueOSErr
   1195 illegalKnobOSErr    =   -2077   #illegalKnobOSErr
   1196 illegalChannelOSErr =   -2076   #illegalChannelOSErr
   1197 illegalPartOSErr    =   -2075   #illegalPartOSErr
   1198 illegalVoiceAllocationOSErr =   -2074   #illegalVoiceAllocationOSErr
   1199 cantReceiveFromSynthesizerOSErr =   -2073   #cantReceiveFromSynthesizerOSErr
   1200 cantSendToSynthesizerOSErr  =   -2072   #cantSendToSynthesizerOSErr
   1201 notImplementedMusicOSErr    =   -2071   #notImplementedMusicOSErr
   1202 internalComponentErr    =   -2070   #internalComponentErr
   1203 invalidSpriteIDErr  =   -2069   #invalidSpriteIDErr
   1204 invalidImageIndexErr    =   -2068   #invalidImageIndexErr
   1205 invalidSpriteIndexErr   =   -2067   #invalidSpriteIndexErr
   1206 gWorldsNotSameDepthAndSizeErr   =   -2066   #gWorldsNotSameDepthAndSizeErr
   1207 invalidSpritePropertyErr    =   -2065   #invalidSpritePropertyErr
   1208 invalidSpriteWorldPropertyErr   =   -2064   #invalidSpriteWorldPropertyErr
   1209 missingRequiredParameterErr =   -2063   #missingRequiredParameterErr
   1210 movieTextNotFoundErr    =   -2062   #movieTextNotFoundErr
   1211 sourceNotFoundErr   =   -2061   #sourceNotFoundErr
   1212 noSourceTreeFoundErr    =   -2060   #noSourceTreeFoundErr
   1213 samplesAlreadyInMediaErr    =   -2059   #samplesAlreadyInMediaErr
   1214 auxiliaryExportDataUnavailable  =   -2058   #auxiliaryExportDataUnavailable
   1215 unsupportedAuxiliaryImportData  =   -2057   #unsupportedAuxiliaryImportData
   1216 soundSupportNotAvailableErr =   -2056   #QT for Windows error
   1217 noSoundTrackInMovieErr  =   -2055   #QT for Windows error
   1218 noVideoTrackInMovieErr  =   -2054   #QT for Windows error
   1219 featureUnsupported  =   -2053   #featureUnsupported
   1220 couldNotUseAnExistingSample =   -2052   #couldNotUseAnExistingSample
   1221 noDefaultDataRef    =   -2051   #noDefaultDataRef
   1222 badDataRefIndex =   -2050   #badDataRefIndex
   1223 invalidDataRefContainer =   -2049   #invalidDataRefContainer
   1224 noMovieFound    =   -2048   #noMovieFound
   1225 dataNoDataRef   =   -2047   #dataNoDataRef
   1226 endOfDataReached    =   -2046   #endOfDataReached
   1227 dataAlreadyClosed   =   -2045   #dataAlreadyClosed
   1228 dataAlreadyOpenForWrite =   -2044   #dataAlreadyOpenForWrite
   1229 dataNotOpenForWrite =   -2043   #dataNotOpenForWrite
   1230 dataNotOpenForRead  =   -2042   #dataNotOpenForRead
   1231 invalidSampleDescription    =   -2041   #invalidSampleDescription
   1232 invalidChunkCache   =   -2040   #invalidChunkCache
   1233 invalidSampleDescIndex  =   -2039   #invalidSampleDescIndex
   1234 invalidChunkNum =   -2038   #invalidChunkNum
   1235 invalidSampleNum    =   -2037   #invalidSampleNum
   1236 invalidRect =   -2036   #invalidRect
   1237 cantEnableTrack =   -2035   #cantEnableTrack
   1238 internalQuickTimeError  =   -2034   #internalQuickTimeError
   1239 badEditIndex    =   -2033   #badEditIndex
   1240 timeNotInMedia  =   -2032   #timeNotInMedia
   1241 timeNotInTrack  =   -2031   #timeNotInTrack
   1242 trackNotInMovie =   -2030   #trackNotInMovie
   1243 trackIDNotFound =   -2029   #trackIDNotFound
   1244 badTrackIndex   =   -2028   #badTrackIndex
   1245 maxSizeToGrowTooSmall   =   -2027   #maxSizeToGrowTooSmall
   1246 userDataItemNotFound    =   -2026   #userDataItemNotFound
   1247 staleEditState  =   -2025   #staleEditState
   1248 nonMatchingEditState    =   -2024   #nonMatchingEditState
   1249 invalidEditState    =   -2023   #invalidEditState
   1250 cantCreateSingleForkFile    =   -2022   #happens when file already exists
   1251 wfFileNotFound  =   -2021   #wfFileNotFound
   1252 movieToolboxUninitialized   =   -2020   #movieToolboxUninitialized
   1253 progressProcAborted =   -2019   #progressProcAborted
   1254 mediaTypesDontMatch =   -2018   #mediaTypesDontMatch
   1255 badEditList =   -2017   #badEditList
   1256 cantPutPublicMovieAtom  =   -2016   #cantPutPublicMovieAtom
   1257 invalidTime =   -2015   #invalidTime
   1258 invalidDuration =   -2014   #invalidDuration
   1259 invalidHandler  =   -2013   #invalidHandler
   1260 invalidDataRef  =   -2012   #invalidDataRef
   1261 invalidSampleTable  =   -2011   #invalidSampleTable
   1262 invalidMovie    =   -2010   #invalidMovie
   1263 invalidTrack    =   -2009   #invalidTrack
   1264 invalidMedia    =   -2008   #invalidMedia
   1265 noDataHandler   =   -2007   #noDataHandler
   1266 noMediaHandler  =   -2006   #noMediaHandler
   1267 badComponentType    =   -2005   #badComponentType
   1268 cantOpenHandler =   -2004   #cantOpenHandler
   1269 cantFindHandler =   -2003   #cantFindHandler
   1270 badPublicMovieAtom  =   -2002   #badPublicMovieAtom
   1271 badImageDescription =   -2001   #badImageDescription
   1272 couldNotResolveDataRef  =   -2000   #couldNotResolveDataRef
   1273 nonDragOriginatorErr    =   -1862   #illegal attempt at originator only data
   1274 badImageErr =   -1861   #bad translucent image PixMap
   1275 badImageRgnErr  =   -1860   #bad translucent image region
   1276 noSuitableDisplaysErr   =   -1859   #no displays support translucency
   1277 unsupportedForPlatformErr   =   -1858   #call is for PowerPC only
   1278 dragNotAcceptedErr  =   -1857   #drag was not accepted by receiver
   1279 handlerNotFoundErr  =   -1856   #handler not found
   1280 duplicateHandlerErr =   -1855   #handler already exists
   1281 cantGetFlavorErr    =   -1854   #error while trying to get flavor data
   1282 duplicateFlavorErr  =   -1853   #flavor type already exists
   1283 badDragFlavorErr    =   -1852   #unknown flavor type
   1284 badDragItemErr  =   -1851   #unknown drag item reference
   1285 badDragRefErr   =   -1850   #unknown drag reference
   1286 errEndOfBody    =   -1813   #errEndOfBody
   1287 errEndOfDocument    =   -1812   #errEndOfDocument
   1288 errTopOfBody    =   -1811   #errTopOfBody
   1289 errTopOfDocument    =   -1810   #errTopOfDocument
   1290 errOffsetIsOutsideOfView    =   -1801   #errOffsetIsOutsideOfView
   1291 errOffsetInvalid    =   -1800   #errOffsetInvalid
   1292 errOSACantOpenComponent =   -1762   #Can't connect to scripting system with that ID
   1293 errOSAComponentMismatch =   -1761   #Parameters are from 2 different components
   1294 errOSADataFormatTooNew  =   -1759   #errOSADataFormatTooNew
   1295 errOSADataFormatObsolete    =   -1758   #errOSADataFormatObsolete
   1296 errOSANoSuchDialect =   -1757   #errOSANoSuchDialect
   1297 errOSASourceNotAvailable    =   -1756   #errOSASourceNotAvailable
   1298 errOSABadSelector   =   -1754   #errOSABadSelector
   1299 errOSAScriptError   =   -1753   #errOSAScriptError
   1300 errOSABadStorageType    =   -1752   #errOSABadStorageType
   1301 errOSAInvalidID =   -1751   #errOSAInvalidID
   1302 errOSASystemError   =   -1750   #errOSASystemError
   1303 errAEBufferTooSmall =   -1741   #buffer for AEFlattenDesc too small
   1304 errAEBuildSyntaxError   =   -1740   #AEBuildDesc and friends detected a syntax error
   1305 errAEDescIsNull =   -1739   #attempting to perform an invalid operation on a null descriptor
   1306 errAEStreamAlreadyConverted =   -1738   #attempt to convert a stream that has already been converted
   1307 errAEStreamBadNesting   =   -1737   #nesting violation while streaming
   1308 errAEDuplicateHandler   =   -1736   #attempt to install handler in table for identical class and id (1.1 or greater)
   1309 errAEEventFiltered  =   -1735   #event has been filtered, and should not be propogated (1.1 or greater)
   1310 errAEReceiveEscapeCurrent   =   -1734   #break out of only lowest level of AEReceive (1.1 or greater)
   1311 errAEReceiveTerminate   =   -1733   #break out of all levels of AEReceive to the topmost (1.1 or greater)
   1312 errAERecordingIsAlreadyOn   =   -1732   #available only in version 1.0.1 or greater
   1313 errAEUnknownObjectType  =   -1731   #available only in version 1.0.1 or greater
   1314 errAEEmptyListContainer =   -1730   #Attempt to pass empty list as container to accessor
   1315 errAENegativeCount  =   -1729   #CountProc returned negative value
   1316 errAENoSuchObject   =   -1728   #e.g.,: specifier asked for the 3rd, but there are only 2. Basically, this indicates a run-time resolution error.
   1317 errAENotAnObjSpec   =   -1727   #Param to AEResolve not of type 'obj '
   1318 errAEBadTestKey =   -1726   #Test is neither typeLogicalDescriptor nor typeCompDescriptor
   1319 errAENoSuchLogical  =   -1725   #Something other than AND, OR, or NOT
   1320 errAEAccessorNotFound   =   -1723   #Accessor proc matching wantClass and containerType or wildcards not found
   1321 errAEWrongNumberArgs    =   -1721   #Logical op kAENOT used with other than 1 term
   1322 errAEImpossibleRange    =   -1720   #A range like 3rd to 2nd, or 1st to all.
   1323 errAEIllegalIndex   =   -1719   #index is out of range in a put operation
   1324 errAEReplyNotArrived    =   -1718   #the contents of the reply you are accessing have not arrived yet
   1325 errAEHandlerNotFound    =   -1717   #no handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler
   1326 errAEUnknownAddressType =   -1716   #the target address type is not known
   1327 errAEParamMissed    =   -1715   #a required parameter was not accessed
   1328 errAENotASpecialFunction    =   -1714   #there is no special function for/with this keyword
   1329 errAENoUserInteraction  =   -1713   #no user interaction is allowed
   1330 errAETimeout    =   -1712   #the AppleEvent timed out
   1331 errAEWaitCanceled   =   -1711   #in AESend, the user cancelled out of wait loop for reply or receipt
   1332 errAEUnknownSendMode    =   -1710   #mode wasn't NoReply, WaitReply, or QueueReply or Interaction level is unknown
   1333 errAEReplyNotValid  =   -1709   #AEResetTimer was passed an invalid reply parameter
   1334 errAEEventNotHandled    =   -1708   #the AppleEvent was not handled by any handler
   1335 errAENotAppleEvent  =   -1707   #the event is not in AppleEvent format
   1336 errAENewerVersion   =   -1706   #need newer version of the AppleEvent manager
   1337 errAEBadListItem    =   -1705   #the specified list item does not exist
   1338 errAENotAEDesc  =   -1704   #errAENotAEDesc
   1339 errAEWrongDataType  =   -1703   #errAEWrongDataType
   1340 errAECorruptData    =   -1702   #errAECorruptData
   1341 errAEDescNotFound   =   -1701   #errAEDescNotFound
   1342 errAECoercionFail   =   -1700   #bad parameter data or unable to coerce the data supplied
   1343 errFSIteratorNotSupported   =   -1424   #The iterator's flags or container are not supported by this call
   1344 errFSIteratorNotFound   =   -1423   #Passed FSIterator is not an open iterator
   1345 errFSBadIteratorFlags   =   -1422   #Flags passed to FSOpenIterator are bad
   1346 errFSForkExists =   -1421   #Named fork already exists.
   1347 errFSRefsDifferent  =   -1420   #FSCompareFSRefs; refs are for different objects
   1348 errFSBadSearchParams    =   -1419   #Something wrong with CatalogSearch searchParams
   1349 errFSBadItemCount   =   -1418   #maximumItems was zero
   1350 errFSNoMoreItems    =   -1417   #Iteration ran out of items to return
   1351 errFSBadAllocFlags  =   -1413   #Invalid bits set in allocationFlags
   1352 errFSBadPosMode =   -1412   #Newline bits set in positionMode
   1353 errFSMissingName    =   -1411   #A Unicode name parameter was NULL or nameLength parameter was zero
   1354 errFSNameTooLong    =   -1410   #File/fork name is too long to create/rename
   1355 errFSForkNotFound   =   -1409   #Named fork does not exist
   1356 errFSNotAFolder =   -1407   #Expected a folder, got a file
   1357 errFSMissingCatInfo =   -1406   #A CatalogInfo parameter was NULL
   1358 errFSBadInfoBitmap  =   -1405   #A CatalogInfoBitmap or VolumeInfoBitmap has reserved or invalid bits set
   1359 errFSBadForkRef =   -1404   #A ForkRefNum parameter was bad
   1360 errFSBadBuffer  =   -1403   #A buffer parameter was bad
   1361 errFSBadForkName    =   -1402   #Fork name parameter is bad
   1362 errFSBadFSRef   =   -1401   #FSRef parameter is bad
   1363 errFSUnknownCall    =   -1400   #selector is not recognized by this filesystem
   1364 badFCBErr   =   -1327   #FCBRecPtr is not valid
   1365 volVMBusyErr    =   -1311   #can't eject because volume is in use by VM
   1366 fsDataTooBigErr =   -1310   #file or volume is too big for system
   1367 fileBoundsErr   =   -1309   #file's EOF, offset, mark or size is too big
   1368 notARemountErr  =   -1308   #when _Mount allows only remounts and doesn't get one
   1369 badFidErr   =   -1307   #file id is dangling or doesn't match with the file number
   1370 sameFileErr =   -1306   #can't exchange a file with itself
   1371 desktopDamagedErr   =   -1305   #desktop database files are corrupted
   1372 catChangedErr   =   -1304   #the catalog has been modified
   1373 diffVolErr  =   -1303   #files on different volumes
   1374 notAFileErr =   -1302   #directory specified
   1375 fidExists   =   -1301   #file id already exists
   1376 fidNotFound =   -1300   #no file thread exists.
   1377 errRefNum   =   -1280   #bad connection refNum
   1378 errAborted  =   -1279   #control call was aborted
   1379 errState    =   -1278   #bad connection state for this operation
   1380 errOpening  =   -1277   #open connection request failed
   1381 errAttention    =   -1276   #attention message too long
   1382 errFwdReset =   -1275   #read terminated by forward reset
   1383 errDSPQueueSize =   -1274   #DSP Read/Write Queue Too small
   1384 errOpenDenied   =   -1273   #open connection request was denied
   1385 reqAborted  =   -1105   #reqAborted
   1386 noDataArea  =   -1104   #noDataArea
   1387 noSendResp  =   -1103   #noSendResp
   1388 cbNotFound  =   -1102   #cbNotFound
   1389 noRelErr    =   -1101   #noRelErr
   1390 badBuffNum  =   -1100   #badBuffNum
   1391 badATPSkt   =   -1099   #badATPSkt
   1392 tooManySkts =   -1098   #tooManySkts
   1393 tooManyReqs =   -1097   #tooManyReqs
   1394 reqFailed   =   -1096   #reqFailed
   1395 aspNoAck    =   -1075   #No ack on attention request (server err)
   1396 aspTooMany  =   -1074   #Too many clients (server error)
   1397 aspSizeErr  =   -1073   #Command block too big
   1398 aspSessClosed   =   -1072   #Session closed
   1399 aspServerBusy   =   -1071   #Server cannot open another session
   1400 aspParamErr =   -1070   #Parameter error
   1401 aspNoServers    =   -1069   #No servers at that address
   1402 aspNoMoreSess   =   -1068   #No more sessions on server
   1403 aspBufTooSmall  =   -1067   #Buffer too small
   1404 aspBadVersNum   =   -1066   #Server cannot support this ASP version
   1405 nbpNISErr   =   -1029   #Error trying to open the NIS
   1406 nbpNotFound =   -1028   #Name not found on remove
   1407 nbpDuplicate    =   -1027   #Duplicate name exists already
   1408 nbpConfDiff =   -1026   #Name confirmed at different socket
   1409 nbpNoConfirm    =   -1025   #nbpNoConfirm
   1410 nbpBuffOvr  =   -1024   #Buffer overflow in LookupName
   1411 noMaskFoundErr  =   -1000   #Icon Utilties Error
   1412 kFMFontContainerAccessErr   =   -985    #kFMFontContainerAccessErr
   1413 kFMFontTableAccessErr   =   -984    #kFMFontTableAccessErr
   1414 kFMIterationScopeModifiedErr    =   -983    #kFMIterationScopeModifiedErr
   1415 kFMInvalidFontErr   =   -982    #kFMInvalidFontErr
   1416 kFMInvalidFontFamilyErr =   -981    #kFMInvalidFontFamilyErr
   1417 kFMIterationCompleted   =   -980    #kFMIterationCompleted
   1418 guestNotAllowedErr  =   -932    #destination port requires authentication
   1419 badLocNameErr   =   -931    #location name malformed
   1420 badServiceMethodErr =   -930    #illegal service type, or not supported
   1421 noUserRecErr    =   -928    #Invalid user reference number
   1422 authFailErr =   -927    #unable to authenticate user at destination
   1423 noInformErr =   -926    #PPCStart failed because destination did not have inform pending
   1424 networkErr  =   -925    #An error has occurred in the network, not too likely
   1425 noUserRefErr    =   -924    #unable to create a new userRefNum
   1426 notLoggedInErr  =   -923    #The default userRefNum does not yet exist
   1427 noDefaultUserErr    =   -922    #user hasn't typed in owners name in Network Setup Control Pannel
   1428 badPortNameErr  =   -919    #PPCPortRec malformed
   1429 sessClosedErr   =   -917    #session was closed
   1430 portClosedErr   =   -916    #port was closed
   1431 noResponseErr   =   -915    #unable to contact destination
   1432 noToolboxNameErr    =   -914    #A system resource is missing, not too likely
   1433 noMachineNameErr    =   -913    #user hasn't named his Macintosh in the Network Setup Control Panel
   1434 userRejectErr   =   -912    #Destination rejected the session request
   1435 noUserNameErr   =   -911    #user name unknown on destination machine
   1436 portNameExistsErr   =   -910    #port is already open (perhaps in another app)
   1437 badReqErr   =   -909    #bad parameter or invalid state for operation
   1438 noSessionErr    =   -908    #Invalid session reference number
   1439 sessTableErr    =   -907    #Out of session tables, try again later
   1440 destPortErr =   -906    #Port does not exist at destination
   1441 localOnlyErr    =   -905    #Network activity is currently disabled
   1442 noGlobalsErr    =   -904    #The system is hosed, better re-boot
   1443 noPortErr   =   -903    #Unable to open port or bad portRefNum.  If you're calling
   1444 nameTypeErr =   -902    #Invalid or inappropriate locationKindSelector in locationName
   1445 notInitErr  =   -900    #PPCToolBox not initialized
   1446 notAppropriateForClassic    =   -877    #This application won't or shouldn't run on Classic (Problem 2481058).
   1447 appVersionTooOld    =   -876    #The application's creator and version are incompatible with the current version of Mac OS.
   1448 wrongApplicationPlatform    =   -875    #The application could not launch because the required platform is not available
   1449 hmCloseViewActive   =   -863    #Returned from HMRemoveBalloon if CloseView was active
   1450 hmNoBalloonUp   =   -862    #Returned from HMRemoveBalloon if no balloon was visible when call was made
   1451 hmOperationUnsupported  =   -861    #Returned from HMShowBalloon call if bad method passed to routine
   1452 hmUnknownHelpType   =   -859    #Returned if help msg record contained a bad type
   1453 hmWrongVersion  =   -858    #Returned if help mgr resource was the wrong version
   1454 hmSkippedBalloon    =   -857    #Returned from calls if helpmsg specified a skip balloon
   1455 hmHelpManagerNotInited  =   -855    #Returned from HMGetHelpMenuHandle if help menu not setup
   1456 hmSameAsLastBalloon =   -854    #Returned from HMShowMenuBalloon if menu & item is same as last time
   1457 hmBalloonAborted    =   -853    #Returned if mouse was moving or mouse wasn't in window port rect
   1458 hmHelpDisabled  =   -850    #Show Balloons mode was off, call to routine ignored
   1459 rcDBPackNotInited   =   -813    #attempt to call other routine before InitDBPack
   1460 rcDBWrongVersion    =   -812    #incompatible versions
   1461 rcDBNoHandler   =   -811    #no app handler for specified data type
   1462 rcDBBadAsyncPB  =   -810    #tried to kill a bad pb
   1463 rcDBAsyncNotSupp    =   -809    #ddev does not support async calls
   1464 rcDBBadDDEV =   -808    #bad ddev specified on DBInit
   1465 rcDBBadSessNum  =   -807    #bad session number for DBGetConnInfo
   1466 rcDBBadSessID   =   -806    #rcDBBadSessID
   1467 rcDBExec    =   -805    #rcDBExec
   1468 rcDBBreak   =   -804    #rcDBBreak
   1469 rcDBBadType =   -803    #rcDBBadType
   1470 rcDBError   =   -802    #rcDBError
   1471 rcDBValue   =   -801    #rcDBValue
   1472 rcDBNull    =   -800    #rcDBNull
   1473 icTooManyProfilesErr    =   -677    #too many profiles in database
   1474 icProfileNotFoundErr    =   -676    #profile not found
   1475 icConfigInappropriateErr    =   -675    #incorrect manufacturer code
   1476 icConfigNotFoundErr =   -674    #no internet configuration was found
   1477 icNoURLErr  =   -673    #no URL found
   1478 icNothingToOverrideErr  =   -672    #no component for the override component to capture
   1479 icNoMoreWritersErr  =   -671    #you cannot begin a write session because someone else is already doing it
   1480 icTruncatedErr  =   -670    #more data was present than was returned
   1481 icInternalErr   =   -669    #Internet Config internal error
   1482 icPrefDataErr   =   -668    #problem with preference data
   1483 icPermErr   =   -667    #cannot set preference
   1484 icPrefNotFoundErr   =   -666    #Internet preference not found
   1485 vmInvalidOwningProcessErr   =   -648    #current process does not own the BackingFileID or FileViewID
   1486 vmAddressNotInFileViewErr   =   -647    #address is not in a FileView
   1487 vmNoMoreFileViewsErr    =   -646    #no more FileViews were found
   1488 vmFileViewAccessErr =   -645    #requested FileViewAccess cannot be obtained
   1489 vmInvalidFileViewIDErr  =   -644    #invalid FileViewID
   1490 vmNoMoreBackingFilesErr =   -643    #no more BackingFiles were found
   1491 vmBusyBackingFileErr    =   -642    #open views found on BackingFile
   1492 vmMappingPrivilegesErr  =   -641    #requested MappingPrivileges cannot be obtained
   1493 vmInvalidBackingFileIDErr   =   -640    #invalid BackingFileID
   1494 noMMUErr    =   -626    #no MMU present
   1495 cannotDeferErr  =   -625    #unable to defer additional functions
   1496 interruptsMaskedErr =   -624    #dont call with interrupts masked
   1497 notLockedErr    =   -623    #specified range of memory is not locked
   1498 cannotMakeContiguousErr =   -622    #cannot make specified range contiguous
   1499 notHeldErr  =   -621    #specified range of memory is not held
   1500 notEnoughMemoryErr  =   -620    #insufficient physical memory
   1501 threadProtocolErr   =   -619    #threadProtocolErr
   1502 threadNotFoundErr   =   -618    #threadNotFoundErr
   1503 threadTooManyReqsErr    =   -617    #threadTooManyReqsErr
   1504 noUserInteractionAllowed    =   -610    #no user interaction allowed
   1505 connectionInvalid   =   -609    #connectionInvalid
   1506 noOutstandingHLE    =   -608    #noOutstandingHLE
   1507 bufferIsSmall   =   -607    #error returns from Post and Accept
   1508 appIsDaemon =   -606    #app is BG-only, and launch flags disallow this
   1509 appMemFullErr   =   -605    #application SIZE not big enough for launch
   1510 hardwareConfigErr   =   -604    #hardware configuration not correct for call
   1511 protocolErr =   -603    #app made module calls in improper order
   1512 appModeErr  =   -602    #memory mode is 32-bit, but app not 32-bit clean
   1513 memFragErr  =   -601    #not enough room to launch app w/special requirements
   1514 procNotFound    =   -600    #no eligible process with specified descriptor
   1515 driverHardwareGoneErr   =   -503    #disk driver's hardware was disconnected
   1516 hwParamErr  =   -502    #bad selector for _HWPriv
   1517 teScrapSizeErr  =   -501    #scrap item too big for text edit record
   1518 rgnTooBigErr    =   -500    #rgnTooBigErr
   1519 exUserBreak =   -492    #user debugger break; execute debugger commands on stack
   1520 strUserBreak    =   -491    #user debugger break; display string on stack
   1521 userBreak   =   -490    #user debugger break
   1522 notThePublisherWrn  =   -463    #not the first registered publisher for that container
   1523 containerAlreadyOpenWrn =   -462    #container already opened by this section
   1524 containerNotFoundWrn    =   -461    #could not find editionContainer at this time
   1525 multiplePublisherWrn    =   -460    #A Publisher is already registered for that container
   1526 badSubPartErr   =   -454    #can not use sub parts in this release
   1527 badEditionFileErr   =   -453    #edition file is corrupt
   1528 notRegisteredSectionErr =   -452    #not a registered SectionRecord
   1529 badSectionErr   =   -451    #not a valid SectionRecord
   1530 editionMgrInitErr   =   -450    #edition manager not inited by this app
   1531 fsmUnknownFSMMessageErr =   -438    #unknown message passed to FSM
   1532 fsmNoAlternateStackErr  =   -437    #no alternate stack for HFS CI
   1533 fsmBadFSDVersionErr =   -436    #FSM version incompatible with FSD
   1534 fsmDuplicateFSIDErr =   -435    #FSID already exists on InstallFS
   1535 fsmBadFSDLenErr =   -434    #FSD size incompatible with current FSM vers
   1536 fsmBadFFSNameErr    =   -433    #Name length not 1 <= length <= 31
   1537 fsmBusyFFSErr   =   -432    #File system is busy, cannot be removed
   1538 fsmFFSNotFoundErr   =   -431    #Foreign File system does not exist - new Pack2 could return this error too
   1539 btKeyAttrErr    =   -417    #There is no such a key attribute.
   1540 btKeyLenErr =   -416    #Maximum key length is too long or equal to zero.
   1541 btRecNotFnd =   -415    #Record cannot be found.
   1542 btDupRecErr =   -414    #Record already exists.
   1543 btNoSpace   =   -413    #Can't allocate disk space.
   1544 notBTree    =   -410    #The file is not a dictionary.
   1545 gcrOnMFMErr =   -400    #gcr format on high density media error
   1546 slotNumErr  =   -360    #invalid slot # error
   1547 smRecNotFnd =   -351    #Record not found in the SRT.
   1548 smSRTOvrFlErr   =   -350    #SRT over flow.
   1549 smNoGoodOpens   =   -349    #No opens were successfull in the loop.
   1550 smOffsetErr =   -348    #Offset was too big (temporary error
   1551 smByteLanesErr  =   -347    #NumByteLanes was determined to be zero.
   1552 smBadsPtrErr    =   -346    #Bad pointer was passed to sCalcsPointer
   1553 smsGetDrvrErr   =   -345    #Error occurred during _sGetDriver.
   1554 smNoMoresRsrcs  =   -344    #No more sResources
   1555 smDisDrvrNamErr =   -343    #Error occurred during _sDisDrvrName.
   1556 smGetDrvrNamErr =   -342    #Error occurred during _sGetDrvrName.
   1557 smCkStatusErr   =   -341    #Status of slot = fail.
   1558 smBlkMoveErr    =   -340    #_BlockMove error
   1559 smNewPErr   =   -339    #_NewPtr error
   1560 smSelOOBErr =   -338    #Selector out of bounds error
   1561 smSlotOOBErr    =   -337    #Slot out of bounds error
   1562 smNilsBlockErr  =   -336    #Nil sBlock error (Dont allocate and try to use a nil sBlock)
   1563 smsPointerNil   =   -335    #LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information.
   1564 smCPUErr    =   -334    #Code revision is wrong
   1565 smCodeRevErr    =   -333    #Code revision is wrong
   1566 smReservedErr   =   -332    #Reserved field not zero
   1567 smBadsList  =   -331    #Bad sList: Id1 < Id2 < Id3 ...format is not followed.
   1568 smBadRefId  =   -330    #Reference Id not found in List
   1569 smBusErrTO  =   -320    #BusError time out.
   1570 smBadBoardId    =   -319    #BoardId was wrong; re-init the PRAM record.
   1571 smReservedSlot  =   -318    #slot is reserved, VM should not use this address space.
   1572 smInitTblVErr   =   -317    #An error occurred while trying to initialize the Slot Resource Table.
   1573 smInitStatVErr  =   -316    #The InitStatusV field was negative after primary or secondary init.
   1574 smNoBoardId =   -315    #No Board Id.
   1575 smGetPRErr  =   -314    #Error occurred during _sGetPRAMRec (See SIMStatus).
   1576 smNoBoardSRsrc  =   -313    #No Board sResource.
   1577 smDisposePErr   =   -312    #_DisposePointer error
   1578 smFHBlkDispErr  =   -311    #Error occurred during _sDisposePtr (Dispose of FHeader block).
   1579 smFHBlockRdErr  =   -310    #Error occurred during _sGetFHeader.
   1580 smBLFieldBad    =   -309    #ByteLanes field was bad.
   1581 smUnExBusErr    =   -308    #Unexpected BusError
   1582 smResrvErr  =   -307    #Fatal reserved error. Reserved field != 0.
   1583 smNosInfoArray  =   -306    #No sInfoArray. Memory Mgr error.
   1584 smDisabledSlot  =   -305    #This slot is disabled (-305 use to be smLWTstBad)
   1585 smNoDir =   -304    #Directory offset is Nil
   1586 smRevisionErr   =   -303    #Wrong revison level
   1587 smFormatErr =   -302    #FHeader Format is not Apple's
   1588 smCRCFail   =   -301    #CRC check failed for declaration data
   1589 smEmptySlot =   -300    #No card in slot
   1590 nmTypErr    =   -299    #Notification Manager:wrong queue type
   1591 smPriInitErr    =   -293    #Error; Cards could not be initialized.
   1592 smPRAMInitErr   =   -292    #Error; Slot Resource Table could not be initialized.
   1593 smSRTInitErr    =   -291    #Error; Slot Resource Table could not be initialized.
   1594 smSDMInitErr    =   -290    #Error; SDM could not be initialized.
   1595 midiInvalidCmdErr   =   -261    #command not supported for port type
   1596 midiDupIDErr    =   -260    #duplicate client ID
   1597 midiNameLenErr  =   -259    #name supplied is longer than 31 characters
   1598 midiWriteErr    =   -258    #MIDIWritePacket couldn't write to all connected ports
   1599 midiNoConErr    =   -257    #no connection exists between specified ports
   1600 midiVConnectRmvd    =   -256    #pending virtual connection removed
   1601 midiVConnectMade    =   -255    #pending virtual connection resolved
   1602 midiVConnectErr =   -254    #pending virtual connection created
   1603 midiTooManyConsErr  =   -253    #too many connections made
   1604 midiTooManyPortsErr =   -252    #too many ports already installed in the system
   1605 midiNoPortErr   =   -251    #no port with that ID found
   1606 midiNoClientErr =   -250    #no client with that ID found
   1607 badInputText    =   -247    #badInputText
   1608 badDictFormat   =   -246    #badDictFormat
   1609 incompatibleVoice   =   -245    #incompatibleVoice
   1610 voiceNotFound   =   -244    #voiceNotFound
   1611 bufTooSmall =   -243    #bufTooSmall
   1612 synthNotReady   =   -242    #synthNotReady
   1613 synthOpenFailed =   -241    #synthOpenFailed
   1614 noSynthFound    =   -240    #noSynthFound
   1615 siUnknownQuality    =   -232    #invalid quality selector (returned by driver)
   1616 siUnknownInfoType   =   -231    #invalid info type selector (returned by driver)
   1617 siInputDeviceErr    =   -230    #input device hardware failure
   1618 siBadRefNum =   -229    #invalid input device reference number
   1619 siBadDeviceName =   -228    #input device could not be opened
   1620 siDeviceBusyErr =   -227    #input device already in use
   1621 siInvalidSampleSize =   -226    #invalid sample size
   1622 siInvalidSampleRate =   -225    #invalid sample rate
   1623 siHardDriveTooSlow  =   -224    #hard drive too slow to record to disk
   1624 siInvalidCompression    =   -223    #invalid compression type
   1625 siNoBufferSpecified =   -222    #returned by synchronous SPBRecord if nil buffer passed
   1626 siBadSoundInDevice  =   -221    #invalid index passed to SoundInGetIndexedDevice
   1627 siNoSoundInHardware =   -220    #no Sound Input hardware
   1628 siVBRCompressionNotSupported    =   -213    #vbr audio compression not supported for this operation
   1629 noMoreRealTime  =   -212    #not enough CPU cycles left to add another task
   1630 channelNotBusy  =   -211    #channelNotBusy
   1631 buffersTooSmall =   -210    #can not operate in the memory allowed
   1632 channelBusy =   -209    #the Channel is being used for a PFD already
   1633 badFileFormat   =   -208    #was not type AIFF or was of bad format,corrupt
   1634 notEnoughBufferSpace    =   -207    #could not allocate enough memory
   1635 badFormat   =   -206    #Sound Manager Error Returns
   1636 badChannel  =   -205    #Sound Manager Error Returns
   1637 resProblem  =   -204    #Sound Manager Error Returns
   1638 queueFull   =   -203    #Sound Manager Error Returns
   1639 notEnoughHardwareErr    =   -201    #Sound Manager Error Returns
   1640 noHardwareErr   =   -200    #Sound Manager Error Returns
   1641 mapReadErr  =   -199    #map inconsistent with operation
   1642 resAttrErr  =   -198    #attribute inconsistent with operation
   1643 rmvRefFailed    =   -197    #RmveReference failed
   1644 rmvResFailed    =   -196    #RmveResource failed
   1645 addRefFailed    =   -195    #AddReference failed
   1646 addResFailed    =   -194    #AddResource failed
   1647 resFNotFound    =   -193    #Resource file not found
   1648 resNotFound =   -192    #Resource not found
   1649 inputOutOfBounds    =   -190    #Offset of Count out of bounds
   1650 writingPastEnd  =   -189    #Writing past end of file
   1651 resourceInMemory    =   -188    #Resource already in memory
   1652 CantDecompress  =   -186    #resource bent ("the bends") - can't decompress a compressed resource
   1653 badExtResource  =   -185    #extended resource has a bad format.
   1654 cmNoCurrentProfile  =   -182    #Responder error
   1655 cmUnsupportedDataType   =   -181    #Responder error
   1656 cmCantDeleteProfile =   -180    #Responder error
   1657 cmCantXYZ   =   -179    #CMM cant handle XYZ space
   1658 cmCantConcatenateError  =   -178    #Profile can't be concatenated
   1659 cmProfilesIdentical =   -177    #Profiles the same
   1660 cmProfileNotFound   =   -176    #Responder error
   1661 cmMethodNotFound    =   -175    #CMM not present
   1662 cmMethodError   =   -171    #cmMethodError
   1663 cmProfileError  =   -170    #cmProfileError
   1664 cDepthErr   =   -157    #invalid pixel depth
   1665 cResErr =   -156    #invalid resolution for MakeITable
   1666 cDevErr =   -155    #invalid type of graphics device
   1667 cProtectErr =   -154    #colorTable entry protection violation
   1668 cRangeErr   =   -153    #range error on colorTable request
   1669 cNoMemErr   =   -152    #failed to allocate memory for structure
   1670 cTempMemErr =   -151    #failed to allocate memory for temporary structures
   1671 cMatchErr   =   -150    #Color2Index failed to find an index
   1672 insufficientStackErr    =   -149    #insufficientStackErr
   1673 pixMapTooDeepErr    =   -148    #pixMapTooDeepErr
   1674 rgnOverflowErr  =   -147    #rgnOverflowErr
   1675 noMemForPictPlaybackErr =   -145    #noMemForPictPlaybackErr
   1676 userCanceledErr =   -128    #userCanceledErr
   1677 hMenuFindErr    =   -127    #could not find HMenu's parent in MenuKey (wrong error code - obsolete)
   1678 mBarNFnd    =   -126    #system error code for MBDF not found
   1679 updPixMemErr    =   -125    #insufficient memory to update a pixmap
   1680 volGoneErr  =   -124    #Server volume has been disconnected.
   1681 wrgVolTypErr    =   -123    #Wrong volume type error [operation not supported for MFS]
   1682 badMovErr   =   -122    #Move into offspring error
   1683 tmwdoErr    =   -121    #No free WDCB available
   1684 dirNFErr    =   -120    #Directory not found
   1685 memLockedErr    =   -117    #trying to move a locked block (MoveHHi)
   1686 memSCErr    =   -116    #Size Check failed
   1687 memBCErr    =   -115    #Block Check failed
   1688 memPCErr    =   -114    #Pointer Check failed
   1689 memAZErr    =   -113    #Address in zone check failed
   1690 memPurErr   =   -112    #trying to purge a locked or non-purgeable block
   1691 memWZErr    =   -111    #WhichZone failed (applied to free block)
   1692 memAdrErr   =   -110    #address was odd; or out of range
   1693 nilHandleErr    =   -109    #Master Pointer was NIL in HandleZone or other
   1694 memFullErr  =   -108    #Not enough room in heap zone
   1695 noTypeErr   =   -102    #No object of that type in scrap
   1696 noScrapErr  =   -100    #No scrap exists error
   1697 memROZWarn  =   -99 #soft error in ROZ
   1698 portNotCf   =   -98 #driver Open error code (parameter RAM not configured for this connection)
   1699 portInUse   =   -97 #driver Open error code (port is in use)
   1700 portNotPwr  =   -96 #serial port not currently powered
   1701 excessCollsns   =   -95 #excessive collisions on write
   1702 lapProtErr  =   -94 #error in attaching/detaching protocol
   1703 noBridgeErr =   -93 #no network bridge for non-local send
   1704 eLenErr =   -92 #Length error ddpLenErr
   1705 eMultiErr   =   -91 #Multicast address error ddpSktErr
   1706 breakRecd   =   -90 #Break received (SCC)
   1707 rcvrErr =   -89 #SCC receiver error (framing; parity; OR)
   1708 prInitErr   =   -88 #InitUtil found the parameter ram uninitialized
   1709 prWrErr =   -87 #parameter ram written didn't read-verify
   1710 clkWrErr    =   -86 #time written did not verify
   1711 clkRdErr    =   -85 #unable to read same clock value twice
   1712 verErr  =   -84 #track failed to verify
   1713 fmt2Err =   -83 #can't get enough sync
   1714 fmt1Err =   -82 #can't find sector 0 after track format
   1715 sectNFErr   =   -81 #sector number never found on a track
   1716 seekErr =   -80 #track number wrong on address mark
   1717 spdAdjErr   =   -79 #unable to correctly adjust disk speed
   1718 twoSideErr  =   -78 #tried to read 2nd side on a 1-sided drive
   1719 initIWMErr  =   -77 #unable to initialize IWM
   1720 tk0BadErr   =   -76 #track 0 detect doesn't change
   1721 cantStepErr =   -75 #step handshake failed
   1722 wrUnderrun  =   -74 #write underrun occurred
   1723 badDBtSlp   =   -73 #bad data mark bit slip nibbles
   1724 badDCksum   =   -72 #bad data mark checksum
   1725 noDtaMkErr  =   -71 #couldn't find a data mark header
   1726 badBtSlpErr =   -70 #bad addr mark bit slip nibbles
   1727 badCksmErr  =   -69 #addr mark checksum didn't check
   1728 dataVerErr  =   -68 #read verify compare failed
   1729 noAdrMkErr  =   -67 #couldn't find valid addr mark
   1730 noNybErr    =   -66 #couldn't find 5 nybbles in 200 tries
   1731 offLinErr   =   -65 #r/w requested for an off-line drive
   1732 fontDecError    =   -64 #error during font declaration
   1733 wrPermErr   =   -61 #write permissions error
   1734 badMDBErr   =   -60 #bad master directory block
   1735 fsRnErr =   -59 #file system internal error:during rename the old entry was deleted but could not be restored.
   1736 extFSErr    =   -58 #volume in question belongs to an external fs
   1737 noMacDskErr =   -57 #not a mac diskette (sig bytes are wrong)
   1738 nsDrvErr    =   -56 #no such drive (tried to mount a bad drive num)
   1739 volOnLinErr =   -55 #drive volume already on-line at MountVol
   1740 permErr =   -54 #permissions error (on file open)
   1741 volOffLinErr    =   -53 #volume not on line error (was Ejected)
   1742 gfpErr  =   -52 #get file position error
   1743 rfNumErr    =   -51 #refnum error
   1744 paramErr    =   -50 #error in user parameter list
   1745 opWrErr =   -49 #file already open with with write permission
   1746 dupFNErr    =   -48 #duplicate filename (rename)
   1747 fBsyErr =   -47 #File is busy (delete)
   1748 vLckdErr    =   -46 #volume is locked
   1749 fLckdErr    =   -45 #file is locked
   1750 wPrErr  =   -44 #diskette is write protected.
   1751 fnfErr  =   -43 #File not found
   1752 tmfoErr =   -42 #too many files open
   1753 mFulErr =   -41 #memory full (open) or file won't fit (load)
   1754 posErr  =   -40 #tried to position to before start of file (r/w)
   1755 eofErr  =   -39 #End of file
   1756 fnOpnErr    =   -38 #File not open
   1757 bdNamErr    =   -37 #there may be no bad names in the final system!
   1758 ioErr   =   -36 #I/O error (bummers)
   1759 nsvErr  =   -35 #no such volume
   1760 dskFulErr   =   -34 #disk full
   1761 dirFulErr   =   -33 #Directory full
   1762 dceExtErr   =   -30 #dce extension error
   1763 unitTblFullErr  =   -29 #unit table has no more entries
   1764 notOpenErr  =   -28 #Couldn't rd/wr/ctl/sts cause driver not opened
   1765 iIOAbortErr =   -27 #IO abort error (Printing Manager)
   1766 dInstErr    =   -26 #DrvrInstall couldn't find driver in resources
   1767 dRemovErr   =   -25 #tried to remove an open driver
   1768 closErr =   -24 #I/O System Errors
   1769 openErr =   -23 #I/O System Errors
   1770 unitEmptyErr    =   -22 #I/O System Errors
   1771 badUnitErr  =   -21 #I/O System Errors
   1772 writErr =   -20 #I/O System Errors
   1773 readErr =   -19 #I/O System Errors
   1774 statusErr   =   -18 #I/O System Errors
   1775 controlErr  =   -17 #I/O System Errors
   1776 dsExtensionsDisabled    =   -13 #say Extensions Disabled
   1777 dsHD20Installed =   -12 #say HD20 Startup
   1778 dsDisassemblerInstalled =   -11 #say Disassembler Installed
   1779 dsMacsBugInstalled  =   -10 #say MacsBug Installed
   1780 seNoDB  =   -8  #no debugger installed to handle debugger command
   1781 SlpTypeErr  =   -5  #invalid queue element
   1782 unimpErr    =   -4  #unimplemented core routine
   1783 corErr  =   -3  #core routine number out of range
   1784 dsNoExtsDisassembler    =   -2  #not a SysErr, just a placeholder
   1785 qErr    =   -1  #queue element not found during deletion
   1786 tsmComponentNoErr   =   0   #component result = no error
   1787 EPERM   =   1   #Operation not permitted
   1788 ENOENT  =   2   #No such file or directory
   1789 ESRCH   =   3   #No such process
   1790 EINTR   =   4   #Interrupted system call
   1791 EIO =   5   #Input/output error
   1792 ENXIO   =   6   #Device not configured
   1793 E2BIG   =   7   #Argument list too long
   1794 ENOEXEC =   8   #Exec format error
   1795 EBADF   =   9   #Bad file descriptor
   1796 ECHILD  =   10  #No child processes
   1797 EDEADLK =   11  #Resource deadlock avoided
   1798 ENOMEM  =   12  #Cannot allocate memory
   1799 EACCES  =   13  #Permission denied
   1800 EFAULT  =   14  #Bad address
   1801 ECANCELED   =   15  #Operation cancelled
   1802 EBUSY   =   16  #Device busy
   1803 EEXIST  =   17  #File exists
   1804 EXDEV   =   18  #Cross-device link
   1805 ENODEV  =   19  #Operation not supported by device
   1806 ENOTDIR =   20  #Not a directory
   1807 EISDIR  =   21  #Is a directory
   1808 EINVAL  =   22  #Invalid argument
   1809 ENFILE  =   23  #Too many open files in system
   1810 EMFILE  =   24  #Too many open files
   1811 ENOTTY  =   25  #Inappropriate ioctl for device
   1812 ESIGPARM    =   26  #Signal error
   1813 EFBIG   =   27  #File too large
   1814 ENOSPC  =   28  #No space left on device
   1815 ESPIPE  =   29  #Illegal seek
   1816 EROFS   =   30  #Read-only file system
   1817 EMLINK  =   31  #Too many links
   1818 EPIPE   =   32  #Broken pipe
   1819 EDOM    =   33  #Numerical argument out of domain
   1820 ERANGE  =   34  #Result too large
   1821 EAGAIN  =   35  #Resource temporarily unavailable
   1822 EINPROGRESS =   36  #Operation now in progress
   1823 EALREADY    =   37  #Operation already in progress
   1824 ENOTSOCK    =   38  #Socket operation on non-socket
   1825 EDESTADDRREQ    =   39  #Destination address required
   1826 EMSGSIZE    =   40  #Message too long
   1827 EPROTOTYPE  =   41  #Protocol wrong type for socket
   1828 ENOPROTOOPT =   42  #Protocol not available
   1829 EPROTONOSUPPORT =   43  #Protocol not supported
   1830 ESOCKTNOSUPPORT =   44  #Socket type not supported
   1831 EOPNOTSUPP  =   45  #Operation not supported
   1832 EPFNOSUPPORT    =   46  #Protocol family not supported
   1833 EAFNOSUPPORT    =   47  #Address family not supported by protocol family
   1834 EADDRINUSE  =   48  #Address already in use
   1835 EADDRNOTAVAIL   =   49  #Can't assign requested address
   1836 ENETDOWN    =   50  #Network is down
   1837 ENETUNREACH =   51  #Network is unreachable
   1838 ENETRESET   =   52  #Network dropped connection on reset
   1839 ECONNABORTED    =   53  #Software caused connection abort
   1840 ECONNRESET  =   54  #Connection reset by peer
   1841 ENOBUFS =   55  #No buffer space available
   1842 EISCONN =   56  #Socket is already connected
   1843 ENOTCONN    =   57  #Socket is not connected
   1844 ESHUTDOWN   =   58  #Can't send after socket shutdown
   1845 ETOOMANYREFS    =   59  #Too many references: can't splice
   1846 ETIMEDOUT   =   60  #Operation timed out
   1847 ECONNREFUSED    =   61  #Connection refused
   1848 ELOOP   =   62  #Too many levels of symbolic links
   1849 ENAMETOOLONG    =   63  #File name too long
   1850 EHOSTDOWN   =   64  #Host is down
   1851 EHOSTUNREACH    =   65  #No route to host
   1852 ENOTEMPTY   =   66  #Directory not empty
   1853 ELOOK   =   67  #Internal mapping for kOTLookErr, don't return to client
   1854 ENOLCK  =   77  #No locks available
   1855 ENOSYS  =   78  #Function not implemented
   1856 EILSEQ  =   88  #Wide character encoding error
   1857 EUNKNOWN    =   99  #Unknown error
   1858