Mac-Errors

 view release on metacpan or  search on metacpan

src/Errors.pl  view on Meta::CPAN


=head1 COPYRIGHT

Copyright © 2002-2015, brian d foy <bdfoy@cpan.org>. All rights reserved.
You can use this module under the same terms as Perl itself.

=cut

"See why 1984 won't be like 1984";
HERE

__END__
enum {
  paramErr                      = -50,  /*error in user parameter list*/
  noHardwareErr                 = -200, /*Sound Manager Error Returns*/
  notEnoughHardwareErr          = -201, /*Sound Manager Error Returns*/
  userCanceledErr               = -128,
  qErr                          = -1,   /*queue element not found during deletion*/
  vTypErr                       = -2,   /*invalid queue element*/
  corErr                        = -3,   /*core routine number out of range*/
  unimpErr                      = -4,   /*unimplemented core routine*/
  SlpTypeErr                    = -5,   /*invalid queue element*/
  seNoDB                        = -8,   /*no debugger installed to handle debugger command*/
  controlErr                    = -17,  /*I/O System Errors*/
  statusErr                     = -18,  /*I/O System Errors*/
  readErr                       = -19,  /*I/O System Errors*/
  writErr                       = -20,  /*I/O System Errors*/
  badUnitErr                    = -21,  /*I/O System Errors*/
  unitEmptyErr                  = -22,  /*I/O System Errors*/
  openErr                       = -23,  /*I/O System Errors*/
  closErr                       = -24,  /*I/O System Errors*/
  dRemovErr                     = -25,  /*tried to remove an open driver*/
  dInstErr                      = -26   /*DrvrInstall couldn't find driver in resources*/
};

enum {
  abortErr                      = -27,  /*IO call aborted by KillIO*/
  iIOAbortErr                   = -27,  /*IO abort error (Printing Manager)*/
  notOpenErr                    = -28,  /*Couldn't rd/wr/ctl/sts cause driver not opened*/
  unitTblFullErr                = -29,  /*unit table has no more entries*/
  dceExtErr                     = -30,  /*dce extension error*/
  slotNumErr                    = -360, /*invalid slot # error*/
  gcrOnMFMErr                   = -400, /*gcr format on high density media error*/
  dirFulErr                     = -33,  /*Directory full*/
  dskFulErr                     = -34,  /*disk full*/
  nsvErr                        = -35,  /*no such volume*/
  ioErr                         = -36,  /*I/O error (bummers)*/
  bdNamErr                      = -37,  /*there may be no bad names in the final system!*/
  fnOpnErr                      = -38,  /*File not open*/
  eofErr                        = -39,  /*End of file*/
  posErr                        = -40,  /*tried to position to before start of file (r/w)*/
  mFulErr                       = -41,  /*memory full (open) or file won't fit (load)*/
  tmfoErr                       = -42,  /*too many files open*/
  fnfErr                        = -43,  /*File not found*/
  wPrErr                        = -44,  /*diskette is write protected.*/
  fLckdErr                      = -45   /*file is locked*/
};

enum {
  vLckdErr                      = -46,  /*volume is locked*/
  fBsyErr                       = -47,  /*File is busy (delete)*/
  dupFNErr                      = -48,  /*duplicate filename (rename)*/
  opWrErr                       = -49,  /*file already open with with write permission*/
  rfNumErr                      = -51,  /*refnum error*/
  gfpErr                        = -52,  /*get file position error*/
  volOffLinErr                  = -53,  /*volume not on line error (was Ejected)*/
  permErr                       = -54,  /*permissions error (on file open)*/
  volOnLinErr                   = -55,  /*drive volume already on-line at MountVol*/
  nsDrvErr                      = -56,  /*no such drive (tried to mount a bad drive num)*/
  noMacDskErr                   = -57,  /*not a mac diskette (sig bytes are wrong)*/
  extFSErr                      = -58,  /*volume in question belongs to an external fs*/
  fsRnErr                       = -59,  /*file system internal error:during rename the old entry was deleted but could not be restored.*/
  badMDBErr                     = -60,  /*bad master directory block*/
  wrPermErr                     = -61,  /*write permissions error*/
  dirNFErr                      = -120, /*Directory not found*/
  tmwdoErr                      = -121, /*No free WDCB available*/
  badMovErr                     = -122, /*Move into offspring error*/
  wrgVolTypErr                  = -123, /*Wrong volume type error [operation not supported for MFS]*/
  volGoneErr                    = -124  /*Server volume has been disconnected.*/
};

enum {
  fidNotFound                   = -1300, /*no file thread exists.*/
  fidExists                     = -1301, /*file id already exists*/
  notAFileErr                   = -1302, /*directory specified*/
  diffVolErr                    = -1303, /*files on different volumes*/
  catChangedErr                 = -1304, /*the catalog has been modified*/
  desktopDamagedErr             = -1305, /*desktop database files are corrupted*/
  sameFileErr                   = -1306, /*can't exchange a file with itself*/
  badFidErr                     = -1307, /*file id is dangling or doesn't match with the file number*/
  notARemountErr                = -1308, /*when _Mount allows only remounts and doesn't get one*/
  fileBoundsErr                 = -1309, /*file's EOF, offset, mark or size is too big*/
  fsDataTooBigErr               = -1310, /*file or volume is too big for system*/
  volVMBusyErr                  = -1311, /*can't eject because volume is in use by VM*/
  badFCBErr                     = -1327, /*FCBRecPtr is not valid*/
  errFSUnknownCall              = -1400, /* selector is not recognized by this filesystem */
  errFSBadFSRef                 = -1401, /* FSRef parameter is bad */
  errFSBadForkName              = -1402, /* Fork name parameter is bad */
  errFSBadBuffer                = -1403, /* A buffer parameter was bad */
  errFSBadForkRef               = -1404, /* A ForkRefNum parameter was bad */
  errFSBadInfoBitmap            = -1405, /* A CatalogInfoBitmap or VolumeInfoBitmap has reserved or invalid bits set */
  errFSMissingCatInfo           = -1406, /* A CatalogInfo parameter was NULL */
  errFSNotAFolder               = -1407, /* Expected a folder, got a file */
  errFSForkNotFound             = -1409, /* Named fork does not exist */
  errFSNameTooLong              = -1410, /* File/fork name is too long to create/rename */
  errFSMissingName              = -1411, /* A Unicode name parameter was NULL or nameLength parameter was zero */
  errFSBadPosMode               = -1412, /* Newline bits set in positionMode */
  errFSBadAllocFlags            = -1413, /* Invalid bits set in allocationFlags */
  errFSNoMoreItems              = -1417, /* Iteration ran out of items to return */
  errFSBadItemCount             = -1418, /* maximumItems was zero */
  errFSBadSearchParams          = -1419, /* Something wrong with CatalogSearch searchParams */
  errFSRefsDifferent            = -1420, /* FSCompareFSRefs; refs are for different objects */
  errFSForkExists               = -1421, /* Named fork already exists. */
  errFSBadIteratorFlags         = -1422, /* Flags passed to FSOpenIterator are bad */
  errFSIteratorNotFound         = -1423, /* Passed FSIterator is not an open iterator */
  errFSIteratorNotSupported     = -1424, /* The iterator's flags or container are not supported by this call */
  envNotPresent                 = -5500, /*returned by glue.*/
  envBadVers                    = -5501, /*Version non-positive*/
  envVersTooBig                 = -5502, /*Version bigger than call can handle*/
  fontDecError                  = -64,  /*error during font declaration*/
  fontNotDeclared               = -65,  /*font not declared*/

src/Errors.pl  view on Meta::CPAN

  smDisposePErr                 = -312, /*_DisposePointer error*/
  smNoBoardSRsrc                = -313, /*No Board sResource.*/
  smGetPRErr                    = -314, /*Error occurred during _sGetPRAMRec (See SIMStatus).*/
  smNoBoardId                   = -315, /*No Board Id.*/
  smInitStatVErr                = -316, /*The InitStatusV field was negative after primary or secondary init.*/
  smInitTblVErr                 = -317, /*An error occurred while trying to initialize the Slot Resource Table.*/
  smNoJmpTbl                    = -318, /*SDM jump table could not be created.*/
  smReservedSlot                = -318, /*slot is reserved, VM should not use this address space.*/
  smBadBoardId                  = -319, /*BoardId was wrong; re-init the PRAM record.*/
  smBusErrTO                    = -320, /*BusError time out.*/
                                        /* These errors are logged in the  vendor status field of the sInfo record. */
  svTempDisable                 = -32768L, /*Temporarily disable card but run primary init.*/
  svDisabled                    = -32640, /*Reserve range -32640 to -32768 for Apple temp disables.*/
  smBadRefId                    = -330, /*Reference Id not found in List*/
  smBadsList                    = -331, /*Bad sList: Id1 < Id2 < Id3 ...format is not followed.*/
  smReservedErr                 = -332, /*Reserved field not zero*/
  smCodeRevErr                  = -333  /*Code revision is wrong*/
};

enum {
  smCPUErr                      = -334, /*Code revision is wrong*/
  smsPointerNil                 = -335, /*LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information.*/
  smNilsBlockErr                = -336, /*Nil sBlock error (Dont allocate and try to use a nil sBlock)*/
  smSlotOOBErr                  = -337, /*Slot out of bounds error*/
  smSelOOBErr                   = -338, /*Selector out of bounds error*/
  smNewPErr                     = -339, /*_NewPtr error*/
  smBlkMoveErr                  = -340, /*_BlockMove error*/
  smCkStatusErr                 = -341, /*Status of slot = fail.*/
  smGetDrvrNamErr               = -342, /*Error occurred during _sGetDrvrName.*/
  smDisDrvrNamErr               = -343, /*Error occurred during _sDisDrvrName.*/
  smNoMoresRsrcs                = -344, /*No more sResources*/
  smsGetDrvrErr                 = -345, /*Error occurred during _sGetDriver.*/
  smBadsPtrErr                  = -346, /*Bad pointer was passed to sCalcsPointer*/
  smByteLanesErr                = -347, /*NumByteLanes was determined to be zero.*/
  smOffsetErr                   = -348, /*Offset was too big (temporary error*/
  smNoGoodOpens                 = -349, /*No opens were successfull in the loop.*/
  smSRTOvrFlErr                 = -350, /*SRT over flow.*/
  smRecNotFnd                   = -351  /*Record not found in the SRT.*/
};


enum {
                                        /*Dictionary Manager errors*/
  notBTree                      = -410, /*The file is not a dictionary.*/
  btNoSpace                     = -413, /*Can't allocate disk space.*/
  btDupRecErr                   = -414, /*Record already exists.*/
  btRecNotFnd                   = -415, /*Record cannot be found.*/
  btKeyLenErr                   = -416, /*Maximum key length is too long or equal to zero.*/
  btKeyAttrErr                  = -417, /*There is no such a key attribute.*/
  unknownInsertModeErr          = -20000, /*There is no such an insert mode.*/
  recordDataTooBigErr           = -20001, /*The record data is bigger than buffer size (1024 bytes).*/
  invalidIndexErr               = -20002 /*The recordIndex parameter is not valid.*/
};


/*
 * Error codes from FSM functions
 */
enum {
  fsmFFSNotFoundErr             = -431, /* Foreign File system does not exist - new Pack2 could return this error too */
  fsmBusyFFSErr                 = -432, /* File system is busy, cannot be removed */
  fsmBadFFSNameErr              = -433, /* Name length not 1 <= length <= 31 */
  fsmBadFSDLenErr               = -434, /* FSD size incompatible with current FSM vers */
  fsmDuplicateFSIDErr           = -435, /* FSID already exists on InstallFS */
  fsmBadFSDVersionErr           = -436, /* FSM version incompatible with FSD */
  fsmNoAlternateStackErr        = -437, /* no alternate stack for HFS CI */
  fsmUnknownFSMMessageErr       = -438  /* unknown message passed to FSM */
};


enum {
                                        /* Edition Mgr errors*/
  editionMgrInitErr             = -450, /*edition manager not inited by this app*/
  badSectionErr                 = -451, /*not a valid SectionRecord*/
  notRegisteredSectionErr       = -452, /*not a registered SectionRecord*/
  badEditionFileErr             = -453, /*edition file is corrupt*/
  badSubPartErr                 = -454, /*can not use sub parts in this release*/
  multiplePublisherWrn          = -460, /*A Publisher is already registered for that container*/
  containerNotFoundWrn          = -461, /*could not find editionContainer at this time*/
  containerAlreadyOpenWrn       = -462, /*container already opened by this section*/
  notThePublisherWrn            = -463  /*not the first registered publisher for that container*/
};

enum {
  teScrapSizeErr                = -501, /*scrap item too big for text edit record*/
  hwParamErr                    = -502, /*bad selector for _HWPriv*/
  driverHardwareGoneErr         = -503  /*disk driver's hardware was disconnected*/
};

enum {
                                        /*Process Manager errors*/
  procNotFound                  = -600, /*no eligible process with specified descriptor*/
  memFragErr                    = -601, /*not enough room to launch app w/special requirements*/
  appModeErr                    = -602, /*memory mode is 32-bit, but app not 32-bit clean*/
  protocolErr                   = -603, /*app made module calls in improper order*/
  hardwareConfigErr             = -604, /*hardware configuration not correct for call*/
  appMemFullErr                 = -605, /*application SIZE not big enough for launch*/
  appIsDaemon                   = -606, /*app is BG-only, and launch flags disallow this*/
  bufferIsSmall                 = -607, /*error returns from Post and Accept */
  noOutstandingHLE              = -608,
  connectionInvalid             = -609,
  noUserInteractionAllowed      = -610  /* no user interaction allowed */
};

enum {
                                        /* More Process Manager errors */
  wrongApplicationPlatform      = -875, /* The application could not launch because the required platform is not available    */
  appVersionTooOld              = -876, /* The application's creator and version are incompatible with the current version of Mac OS. */
  notAppropriateForClassic      = -877  /* This application won't or shouldn't run on Classic (Problem 2481058). */
};

/* Thread Manager Error Codes */
enum {
  threadTooManyReqsErr          = -617,
  threadNotFoundErr             = -618,
  threadProtocolErr             = -619
};

enum {
  threadBadAppContextErr        = -616
};

src/Errors.pl  view on Meta::CPAN

  buf2SmallErr                  = -3101,
  noMPPErr                      = -3102,
  ckSumErr                      = -3103,
  extractErr                    = -3104,
  readQErr                      = -3105,
  atpLenErr                     = -3106,
  atpBadRsp                     = -3107,
  recNotFnd                     = -3108,
  sktClosedErr                  = -3109
};


enum {
 /* OpenTransport errors*/
 kOTNoError                    = 0,    /* No Error occurred                    */
  kOTOutOfMemoryErr             = -3211, /* OT ran out of memory, may be a temporary      */
  kOTNotFoundErr                = -3201, /* OT generic not found error               */
  kOTDuplicateFoundErr          = -3216, /* OT generic duplicate found error             */
  kOTBadAddressErr              = -3150, /* XTI2OSStatus(TBADADDR) A Bad address was specified          */
  kOTBadOptionErr               = -3151, /* XTI2OSStatus(TBADOPT) A Bad option was specified             */
  kOTAccessErr                  = -3152, /* XTI2OSStatus(TACCES) Missing access permission           */
  kOTBadReferenceErr            = -3153, /* XTI2OSStatus(TBADF) Bad provider reference               */
  kOTNoAddressErr               = -3154, /* XTI2OSStatus(TNOADDR) No address was specified           */
  kOTOutStateErr                = -3155, /* XTI2OSStatus(TOUTSTATE) Call issued in wrong state           */
  kOTBadSequenceErr             = -3156, /* XTI2OSStatus(TBADSEQ) Sequence specified does not exist         */
  kOTSysErrorErr                = -3157, /* XTI2OSStatus(TSYSERR) A system error occurred            */
  kOTLookErr                    = -3158, /* XTI2OSStatus(TLOOK) An event occurred - call Look()         */
  kOTBadDataErr                 = -3159, /* XTI2OSStatus(TBADDATA) An illegal amount of data was specified */
  kOTBufferOverflowErr          = -3160, /* XTI2OSStatus(TBUFOVFLW) Passed buffer not big enough          */
  kOTFlowErr                    = -3161, /* XTI2OSStatus(TFLOW) Provider is flow-controlled          */
  kOTNoDataErr                  = -3162, /* XTI2OSStatus(TNODATA) No data available for reading          */
  kOTNoDisconnectErr            = -3163, /* XTI2OSStatus(TNODIS) No disconnect indication available         */
  kOTNoUDErrErr                 = -3164, /* XTI2OSStatus(TNOUDERR) No Unit Data Error indication available */
  kOTBadFlagErr                 = -3165, /* XTI2OSStatus(TBADFLAG) A Bad flag value was supplied          */
  kOTNoReleaseErr               = -3166, /* XTI2OSStatus(TNOREL) No orderly release indication available   */
  kOTNotSupportedErr            = -3167, /* XTI2OSStatus(TNOTSUPPORT) Command is not supported           */
  kOTStateChangeErr             = -3168, /* XTI2OSStatus(TSTATECHNG) State is changing - try again later     */
  kOTNoStructureTypeErr         = -3169, /* XTI2OSStatus(TNOSTRUCTYPE) Bad structure type requested for OTAlloc    */
  kOTBadNameErr                 = -3170, /* XTI2OSStatus(TBADNAME) A bad endpoint name was supplied         */
  kOTBadQLenErr                 = -3171, /* XTI2OSStatus(TBADQLEN) A Bind to an in-use addr with qlen > 0   */
  kOTAddressBusyErr             = -3172, /* XTI2OSStatus(TADDRBUSY) Address requested is already in use       */
  kOTIndOutErr                  = -3173, /* XTI2OSStatus(TINDOUT) Accept failed because of pending listen  */
  kOTProviderMismatchErr        = -3174, /* XTI2OSStatus(TPROVMISMATCH) Tried to accept on incompatible endpoint   */
  kOTResQLenErr                 = -3175, /* XTI2OSStatus(TRESQLEN)                            */
  kOTResAddressErr              = -3176, /* XTI2OSStatus(TRESADDR)                            */
  kOTQFullErr                   = -3177, /* XTI2OSStatus(TQFULL)                          */
  kOTProtocolErr                = -3178, /* XTI2OSStatus(TPROTO) An unspecified provider error occurred       */
  kOTBadSyncErr                 = -3179, /* XTI2OSStatus(TBADSYNC) A synchronous call at interrupt time       */
  kOTCanceledErr                = -3180, /* XTI2OSStatus(TCANCELED) The command was cancelled            */
  kEPERMErr                     = -3200, /* Permission denied            */
  kENOENTErr                    = -3201, /* No such file or directory       */
  kENORSRCErr                   = -3202, /* No such resource               */
  kEINTRErr                     = -3203, /* Interrupted system service        */
  kEIOErr                       = -3204, /* I/O error                 */
  kENXIOErr                     = -3205, /* No such device or address       */
  kEBADFErr                     = -3208, /* Bad file number                 */
  kEAGAINErr                    = -3210, /* Try operation again later       */
  kENOMEMErr                    = -3211, /* Not enough space               */
  kEACCESErr                    = -3212, /* Permission denied            */
  kEFAULTErr                    = -3213, /* Bad address                   */
  kEBUSYErr                     = -3215, /* Device or resource busy          */
  kEEXISTErr                    = -3216, /* File exists                   */
  kENODEVErr                    = -3218, /* No such device               */
  kEINVALErr                    = -3221, /* Invalid argument               */
  kENOTTYErr                    = -3224, /* Not a character device          */
  kEPIPEErr                     = -3231, /* Broken pipe                   */
  kERANGEErr                    = -3233, /* Message size too large for STREAM  */
  kEWOULDBLOCKErr               = -3234, /* Call would block, so was aborted     */
  kEDEADLKErr                   = -3234, /* or a deadlock would occur       */
  kEALREADYErr                  = -3236, /*                          */
  kENOTSOCKErr                  = -3237, /* Socket operation on non-socket     */
  kEDESTADDRREQErr              = -3238, /* Destination address required      */
  kEMSGSIZEErr                  = -3239, /* Message too long               */
  kEPROTOTYPEErr                = -3240, /* Protocol wrong type for socket     */
  kENOPROTOOPTErr               = -3241, /* Protocol not available          */
  kEPROTONOSUPPORTErr           = -3242, /* Protocol not supported          */
  kESOCKTNOSUPPORTErr           = -3243, /* Socket type not supported       */
  kEOPNOTSUPPErr                = -3244, /* Operation not supported on socket  */
  kEADDRINUSEErr                = -3247, /* Address already in use          */
  kEADDRNOTAVAILErr             = -3248, /* Can't assign requested address     */
  kENETDOWNErr                  = -3249, /* Network is down                 */
  kENETUNREACHErr               = -3250, /* Network is unreachable          */
  kENETRESETErr                 = -3251, /* Network dropped connection on reset    */
  kECONNABORTEDErr              = -3252, /* Software caused connection abort     */
  kECONNRESETErr                = -3253, /* Connection reset by peer          */
  kENOBUFSErr                   = -3254, /* No buffer space available       */
  kEISCONNErr                   = -3255, /* Socket is already connected         */
  kENOTCONNErr                  = -3256, /* Socket is not connected          */
  kESHUTDOWNErr                 = -3257, /* Can't send after socket shutdown     */
  kETOOMANYREFSErr              = -3258, /* Too many references: can't splice  */
  kETIMEDOUTErr                 = -3259, /* Connection timed out             */
  kECONNREFUSEDErr              = -3260, /* Connection refused           */
  kEHOSTDOWNErr                 = -3263, /* Host is down                */
  kEHOSTUNREACHErr              = -3264, /* No route to host               */
  kEPROTOErr                    = -3269, /* ••• fill out missing codes •••     */
  kETIMEErr                     = -3270, /*                          */
  kENOSRErr                     = -3271, /*                          */
  kEBADMSGErr                   = -3272, /*                          */
  kECANCELErr                   = -3273, /*                          */
  kENOSTRErr                    = -3274, /*                          */
  kENODATAErr                   = -3275, /*                          */
  kEINPROGRESSErr               = -3276, /*                          */
  kESRCHErr                     = -3277, /*                          */
  kENOMSGErr                    = -3278, /*                          */
  kOTClientNotInittedErr        = -3279, /*                          */
  kOTPortHasDiedErr             = -3280, /*                          */
  kOTPortWasEjectedErr          = -3281, /*                          */
  kOTBadConfigurationErr        = -3282, /*                          */
  kOTConfigurationChangedErr    = -3283, /*                          */
  kOTUserRequestedErr           = -3284, /*                          */
  kOTPortLostConnection         = -3285 /*                          */
};


enum {
 /* Color Picker errors*/
 firstPickerError              = -4000,
  invalidPickerType             = firstPickerError,
  requiredFlagsDontMatch        = -4001,
  pickerResourceError           = -4002,
  cantLoadPicker                = -4003,

src/Errors.pl  view on Meta::CPAN

/* QuickTime Streaming Server Errors */
  kQTSSUnknownErr               = -6150
};


enum {
                                        /* Display Manager error codes (-6220...-6269)*/
  kDMGenErr                     = -6220, /*Unexpected Error*/
                                        /* Mirroring-Specific Errors */
  kDMMirroringOnAlready         = -6221, /*Returned by all calls that need mirroring to be off to do their thing.*/
  kDMWrongNumberOfDisplays      = -6222, /*Can only handle 2 displays for now.*/
  kDMMirroringBlocked           = -6223, /*DMBlockMirroring() has been called.*/
  kDMCantBlock                  = -6224, /*Mirroring is already on, can’t Block now (call DMUnMirror() first).*/
  kDMMirroringNotOn             = -6225, /*Returned by all calls that need mirroring to be on to do their thing.*/
                                        /* Other Display Manager Errors */
  kSysSWTooOld                  = -6226, /*Missing critical pieces of System Software.*/
  kDMSWNotInitializedErr        = -6227, /*Required software not initialized (eg windowmanager or display mgr).*/
  kDMDriverNotDisplayMgrAwareErr = -6228, /*Video Driver does not support display manager.*/
  kDMDisplayNotFoundErr         = -6229, /*Could not find item (will someday remove).*/
  kDMNotFoundErr                = -6229, /*Could not find item.*/
  kDMDisplayAlreadyInstalledErr = -6230, /*Attempt to add an already installed display.*/
  kDMMainDisplayCannotMoveErr   = -6231, /*Trying to move main display (or a display mirrored to it) */
  kDMNoDeviceTableclothErr      = -6231, /*obsolete*/
  kDMFoundErr                   = -6232 /*Did not proceed because we found an item*/
};


enum {
/* Language Analysis error codes */
  laTooSmallBufferErr           = -6984, /* output buffer is too small to store any result */
  laEnvironmentBusyErr          = -6985, /* specified environment is used */
  laEnvironmentNotFoundErr      = -6986, /* can't fint the specified environment */
  laEnvironmentExistErr         = -6987, /* same name environment is already exists */
  laInvalidPathErr              = -6988, /* path is not correct */
  laNoMoreMorphemeErr           = -6989, /* nothing to read*/
  laFailAnalysisErr             = -6990, /* analysis failed*/
  laTextOverFlowErr             = -6991, /* text is too long*/
  laDictionaryNotOpenedErr      = -6992, /* the dictionary is not opened*/
  laDictionaryUnknownErr        = -6993, /* can't use this dictionary with this environment*/
  laDictionaryTooManyErr        = -6994, /* too many dictionaries*/
  laPropertyValueErr            = -6995, /* Invalid property value*/
  laPropertyUnknownErr          = -6996, /* the property is unknown to this environment*/
  laPropertyIsReadOnlyErr       = -6997, /* the property is read only*/
  laPropertyNotFoundErr         = -6998, /* can't find the property*/
  laPropertyErr                 = -6999, /* Error in properties*/
  laEngineNotFoundErr           = -7000 /* can't find the engine*/
};


enum {
  kUSBNoErr                     = 0,
  kUSBNoTran                    = 0,
  kUSBNoDelay                   = 0,
  kUSBPending                   = 1
};

enum {
/* USB Hardware Errors */
  kUSBNotSent2Err               = -6901, /*  Transaction not sent */
  kUSBNotSent1Err               = -6902, /*  Transaction not sent */
  kUSBBufUnderRunErr            = -6903, /*  Host hardware failure on data out, PCI busy? */
  kUSBBufOvrRunErr              = -6904, /*  Host hardware failure on data in, PCI busy? */
  kUSBRes2Err                   = -6905,
  kUSBRes1Err                   = -6906,
  kUSBUnderRunErr               = -6907, /*  Less data than buffer */
  kUSBOverRunErr                = -6908, /*  Packet too large or more data than buffer */
  kUSBWrongPIDErr               = -6909, /*  Pipe stall, Bad or wrong PID */
  kUSBPIDCheckErr               = -6910, /*  Pipe stall, PID CRC error */
  kUSBNotRespondingErr          = -6911, /*  Pipe stall, No device, device hung */
  kUSBEndpointStallErr          = -6912, /*  Device didn't understand */
  kUSBDataToggleErr             = -6913, /*  Pipe stall, Bad data toggle */
  kUSBBitstufErr                = -6914, /*  Pipe stall, bitstuffing */
  kUSBCRCErr                    = -6915, /*  Pipe stall, bad CRC */
  kUSBLinkErr                   = -6916
};


enum {
/* USB Manager Errors */
  kUSBQueueFull                 = -6948, /* Internal queue maxxed  */
  kUSBNotHandled                = -6987, /* Notification was not handled   (same as NotFound)*/
  kUSBUnknownNotification       = -6949, /* Notification type not defined  */
  kUSBBadDispatchTable          = -6950 /* Improper driver dispatch table     */
};


enum {
/* USB internal errors */
  kUSBInternalReserved10        = -6951,
  kUSBInternalReserved9         = -6952,
  kUSBInternalReserved8         = -6953,
  kUSBInternalReserved7         = -6954,
  kUSBInternalReserved6         = -6955,
  kUSBInternalReserved5         = -6956,
  kUSBInternalReserved4         = -6957,
  kUSBInternalReserved3         = -6958,
  kUSBInternalReserved2         = -6959,
  kUSBInternalReserved1         = -6960 /* reserved*/
};

enum {
/* USB Services Errors */
  kUSBPortDisabled              = -6969, /* The port you are attached to is disabled, use USBDeviceReset.*/
  kUSBQueueAborted              = -6970, /* Pipe zero stall cleared.*/
  kUSBTimedOut                  = -6971, /* Transaction timed out. */
  kUSBDeviceDisconnected        = -6972, /* Disconnected during suspend or reset */
  kUSBDeviceNotSuspended        = -6973, /* device is not suspended for resume */
  kUSBDeviceSuspended           = -6974, /* Device is suspended */
  kUSBInvalidBuffer             = -6975, /* bad buffer, usually nil */
  kUSBDevicePowerProblem        = -6976, /*  Device has a power problem */
  kUSBDeviceBusy                = -6977, /*  Device is already being configured */
  kUSBUnknownInterfaceErr       = -6978, /*  Interface ref not recognised */
  kUSBPipeStalledError          = -6979, /*  Pipe has stalled, error needs to be cleared */
  kUSBPipeIdleError             = -6980, /*  Pipe is Idle, it will not accept transactions */
  kUSBNoBandwidthError          = -6981, /*  Not enough bandwidth available */
  kUSBAbortedError              = -6982, /*  Pipe aborted */
  kUSBFlagsError                = -6983, /*  Unused flags not zeroed */
  kUSBCompletionError           = -6984, /*  no completion routine specified */
  kUSBPBLengthError             = -6985, /*  pbLength too small */
  kUSBPBVersionError            = -6986, /*  Wrong pbVersion */
  kUSBNotFound                  = -6987, /*  Not found */
  kUSBOutOfMemoryErr            = -6988, /*  Out of memory */
  kUSBDeviceErr                 = -6989, /*  Device error */
  kUSBNoDeviceErr               = -6990, /*  No device*/
  kUSBAlreadyOpenErr            = -6991, /*  Already open */
  kUSBTooManyTransactionsErr    = -6992, /*  Too many transactions */
  kUSBUnknownRequestErr         = -6993, /*  Unknown request */
  kUSBRqErr                     = -6994, /*  Request error */
  kUSBIncorrectTypeErr          = -6995, /*  Incorrect type */
  kUSBTooManyPipesErr           = -6996, /*  Too many pipes */
  kUSBUnknownPipeErr            = -6997, /*  Pipe ref not recognised */
  kUSBUnknownDeviceErr          = -6998, /*  device ref not recognised */
  kUSBInternalErr               = -6999 /* Internal error */
};


enum {
/* DictionaryMgr error codes */
  dcmParamErr                   = -7100, /* bad parameter*/
  dcmNotDictionaryErr           = -7101, /* not dictionary*/
  dcmBadDictionaryErr           = -7102, /* invalid dictionary*/
  dcmPermissionErr              = -7103, /* invalid permission*/
  dcmDictionaryNotOpenErr       = -7104, /* dictionary not opened*/
  dcmDictionaryBusyErr          = -7105, /* dictionary is busy*/
  dcmBlockFullErr               = -7107, /* dictionary block full*/
  dcmNoRecordErr                = -7108, /* no such record*/
  dcmDupRecordErr               = -7109, /* same record already exist*/
  dcmNecessaryFieldErr          = -7110, /* lack required/identify field*/
  dcmBadFieldInfoErr            = -7111, /* incomplete information*/
  dcmBadFieldTypeErr            = -7112, /* no such field type supported*/
  dcmNoFieldErr                 = -7113, /* no such field exist*/
  dcmBadKeyErr                  = -7115, /* bad key information*/
  dcmTooManyKeyErr              = -7116, /* too many key field*/
  dcmBadDataSizeErr             = -7117, /* too big data size*/
  dcmBadFindMethodErr           = -7118, /* no such find method supported*/
  dcmBadPropertyErr             = -7119, /* no such property exist*/
  dcmProtectedErr               = -7121, /* need keyword to use dictionary*/
  dcmNoAccessMethodErr          = -7122, /* no such AccessMethod*/
  dcmBadFeatureErr              = -7124, /* invalid AccessMethod feature*/
  dcmIterationCompleteErr       = -7126, /* no more item in iterator*/
  dcmBufferOverflowErr          = -7127 /* data is larger than buffer size*/
};


enum {
/* Apple Remote Access error codes*/
  kRAInvalidParameter           = -7100,
  kRAInvalidPort                = -7101,
  kRAStartupFailed              = -7102,
  kRAPortSetupFailed            = -7103,
  kRAOutOfMemory                = -7104,
  kRANotSupported               = -7105,
  kRAMissingResources           = -7106,
  kRAIncompatiblePrefs          = -7107,
  kRANotConnected               = -7108,
  kRAConnectionCanceled         = -7109,
  kRAUnknownUser                = -7110,
  kRAInvalidPassword            = -7111,
  kRAInternalError              = -7112,
  kRAInstallationDamaged        = -7113,
  kRAPortBusy                   = -7114,
  kRAUnknownPortState           = -7115,
  kRAInvalidPortState           = -7116,
  kRAInvalidSerialProtocol      = -7117,
  kRAUserLoginDisabled          = -7118,
  kRAUserPwdChangeRequired      = -7119,
  kRAUserPwdEntryRequired       = -7120,
  kRAUserInteractionRequired    = -7121,
  kRAInitOpenTransportFailed    = -7122,
  kRARemoteAccessNotReady       = -7123,
  kRATCPIPInactive              = -7124, /* TCP/IP inactive, cannot be loaded*/
  kRATCPIPNotConfigured         = -7125, /* TCP/IP not configured, could be loaded*/
  kRANotPrimaryInterface        = -7126, /* when IPCP is not primary TCP/IP intf.*/
  kRAConfigurationDBInitErr     = -7127,
  kRAPPPProtocolRejected        = -7128,
  kRAPPPAuthenticationFailed    = -7129,
  kRAPPPNegotiationFailed       = -7130,
  kRAPPPUserDisconnected        = -7131,
  kRAPPPPeerDisconnected        = -7132,
  kRAPeerNotResponding          = -7133,
  kRAATalkInactive              = -7134,
  kRAExtAuthenticationFailed    = -7135,
  kRANCPRejectedbyPeer          = -7136,
  kRADuplicateIPAddr            = -7137,



( run in 0.613 second using v1.01-cache-2.11-cpan-39bf76dae61 )