Mac-Errors

 view release on metacpan or  search on metacpan

src/Errors.pl  view on Meta::CPAN

  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*/
  fontSubErr                    = -66,  /*font substitution occurred*/
  fontNotOutlineErr             = -32615, /*bitmap font passed to routine that does outlines only*/
  firstDskErr                   = -84,  /*I/O System Errors*/
  lastDskErr                    = -64,  /*I/O System Errors*/
  noDriveErr                    = -64,  /*drive not installed*/
  offLinErr                     = -65,  /*r/w requested for an off-line drive*/
  noNybErr                      = -66   /*couldn't find 5 nybbles in 200 tries*/
};

enum {
  noAdrMkErr                    = -67,  /*couldn't find valid addr mark*/
  dataVerErr                    = -68,  /*read verify compare failed*/
  badCksmErr                    = -69,  /*addr mark checksum didn't check*/
  badBtSlpErr                   = -70,  /*bad addr mark bit slip nibbles*/
  noDtaMkErr                    = -71,  /*couldn't find a data mark header*/
  badDCksum                     = -72,  /*bad data mark checksum*/
  badDBtSlp                     = -73,  /*bad data mark bit slip nibbles*/
  wrUnderrun                    = -74,  /*write underrun occurred*/
  cantStepErr                   = -75,  /*step handshake failed*/
  tk0BadErr                     = -76,  /*track 0 detect doesn't change*/
  initIWMErr                    = -77,  /*unable to initialize IWM*/
  twoSideErr                    = -78,  /*tried to read 2nd side on a 1-sided drive*/
  spdAdjErr                     = -79,  /*unable to correctly adjust disk speed*/
  seekErr                       = -80,  /*track number wrong on address mark*/
  sectNFErr                     = -81,  /*sector number never found on a track*/
  fmt1Err                       = -82,  /*can't find sector 0 after track format*/
  fmt2Err                       = -83,  /*can't get enough sync*/

src/Errors.pl  view on Meta::CPAN

  kOTUserRequestedErr           = -3284, /*                          */
  kOTPortLostConnection         = -3285 /*                          */
};


enum {
 /* Color Picker errors*/
 firstPickerError              = -4000,
  invalidPickerType             = firstPickerError,
  requiredFlagsDontMatch        = -4001,
  pickerResourceError           = -4002,
  cantLoadPicker                = -4003,
  cantCreatePickerWindow        = -4004,
  cantLoadPackage               = -4005,
  pickerCantLive                = -4006,
  colorSyncNotInstalled         = -4007,
  badProfileError               = -4008,
  noHelpForItem                 = -4009
};



enum {
/* NSL error codes*/
  kNSL68kContextNotSupported    = -4170, /* no 68k allowed*/
  kNSLSchedulerError            = -4171, /* A custom thread routine encountered an error*/
  kNSLBadURLSyntax              = -4172, /* URL contains illegal characters*/
  kNSLNoCarbonLib               = -4173,
  kNSLUILibraryNotAvailable     = -4174, /* The NSL UI Library needs to be in the Extensions Folder*/
  kNSLNotImplementedYet         = -4175,
  kNSLErrNullPtrError           = -4176,
  kNSLSomePluginsFailedToLoad   = -4177, /* (one or more plugins failed to load, but at least one did load; this error isn't fatal)*/
  kNSLNullNeighborhoodPtr       = -4178, /* (client passed a null neighborhood ptr)*/
  kNSLNoPluginsForSearch        = -4179, /* (no plugins will respond to search request; bad protocol(s)?)*/
  kNSLSearchAlreadyInProgress   = -4180, /* (you can only have one ongoing search per clientRef)*/
  kNSLNoPluginsFound            = -4181, /* (manager didn't find any valid plugins to load)*/
  kNSLPluginLoadFailed          = -4182, /* (manager unable to load one of the plugins)*/
  kNSLBadProtocolTypeErr        = -4183, /* (client is trying to add a null protocol type)*/
  kNSLNullListPtr               = -4184, /* (client is trying to add items to a nil list)*/
  kNSLBadClientInfoPtr          = -4185, /* (nil ClientAsyncInfoPtr; no reference available)*/
  kNSLCannotContinueLookup      = -4186, /* (Can't continue lookup; error or bad state)*/
  kNSLBufferTooSmallForData     = -4187, /* (Client buffer too small for data from plugin)*/
  kNSLNoContextAvailable        = -4188, /* (ContinueLookup function ptr invalid)*/
  kNSLRequestBufferAlreadyInList = -4189,
  kNSLInvalidPluginSpec         = -4190,
  kNSLNoSupportForService       = -4191,
  kNSLBadNetConnection          = -4192,
  kNSLBadDataTypeErr            = -4193,
  kNSLBadServiceTypeErr         = -4194,
  kNSLBadReferenceErr           = -4195,
  kNSLNoElementsInList          = -4196,
  kNSLInsufficientOTVer         = -4197,
  kNSLInsufficientSysVer        = -4198,
  kNSLNotInitialized            = -4199,
  kNSLInitializationFailed      = -4200 /* UNABLE TO INITIALIZE THE MANAGER!!!!! DO NOT CONTINUE!!!!*/
};



enum {
/* desktop printing error codes*/
  kDTPHoldJobErr                = -4200,
  kDTPStopQueueErr              = -4201,
  kDTPTryAgainErr               = -4202,
  kDTPAbortJobErr               = 128
};

enum {
                                      /* ColorSync Result codes */
  cmElementTagNotFound          = -4200,
  cmIndexRangeErr               = -4201, /* Tag index out of range */
  cmCantDeleteElement           = -4202,
  cmFatalProfileErr             = -4203,
  cmInvalidProfile              = -4204, /* A Profile must contain a 'cs1 ' tag to be valid */
  cmInvalidProfileLocation      = -4205, /* Operation not supported for this profile location */
  cmCantCopyModifiedV1Profile   = -4215, /* Illegal to copy version 1 profiles that have been modified */
                                        /* Profile Search Errors */
  cmInvalidSearch               = -4206, /* Bad Search Handle */
  cmSearchError                 = -4207,
  cmErrIncompatibleProfile      = -4208, /* Other ColorSync Errors */
  cmInvalidColorSpace           = -4209, /* Profile colorspace does not match bitmap type */
  cmInvalidSrcMap               = -4210, /* Source pix/bit map was invalid */
  cmInvalidDstMap               = -4211, /* Destination pix/bit map was invalid */
  cmNoGDevicesError             = -4212, /* Begin/End Matching -- no gdevices available */
  cmInvalidProfileComment       = -4213, /* Bad Profile comment during drawpicture */
  cmRangeOverFlow               = -4214, /* Color conversion warning that some output color values over/underflowed and were clipped */
  cmNamedColorNotFound          = -4216, /* NamedColor not found */
  cmCantGamutCheckError         = -4217 /* Gammut checking not supported by this ColorWorld */
};

enum {
/* new Folder Manager error codes */
  badFolderDescErr              = -4270,
  duplicateFolderDescErr        = -4271,
  noMoreFolderDescErr           = -4272,
  invalidFolderTypeErr          = -4273,
  duplicateRoutingErr           = -4274,
  routingNotFoundErr            = -4275,
  badRoutingSizeErr             = -4276
};


enum {
/* Core Foundation errors*/
  coreFoundationUnknownErr      = -4960
};

enum {
/* ScrapMgr error codes (CarbonLib 1.0 and later)*/
  internalScrapErr              = -4988,
  duplicateScrapFlavorErr       = -4989,
  badScrapRefErr                = -4990,
  processStateIncorrectErr      = -4991,
  scrapPromiseNotKeptErr        = -4992,
  noScrapPromiseKeeperErr       = -4993,
  nilScrapFlavorDataErr         = -4994,
  scrapFlavorFlagsMismatchErr   = -4995,
  scrapFlavorSizeMismatchErr    = -4996,
  illegalScrapFlavorFlagsErr    = -4997,
  illegalScrapFlavorTypeErr     = -4998,
  illegalScrapFlavorSizeErr     = -4999,



( run in 1.320 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )