Mac-Errors

 view release on metacpan or  search on metacpan

lib/Mac/Errors.pm  view on Meta::CPAN

=item vLckdErr

 volume is locked

=cut

sub vLckdErr { -46 }

=item fBsyErr

 File is busy (delete)

=cut

sub fBsyErr { -47 }

=item dupFNErr

 duplicate filename (rename)

=cut

lib/Mac/Errors.pm  view on Meta::CPAN

=item fsmFFSNotFoundErr

 Foreign File system does not exist - new Pack2 could return this error too

=cut

sub fsmFFSNotFoundErr { -431 }

=item fsmBusyFFSErr

 File system is busy, cannot be removed

=cut

sub fsmBusyFFSErr { -432 }

=item fsmBadFFSNameErr

 Name length not 1 <= length <= 31

=cut

lib/Mac/Errors.pm  view on Meta::CPAN

=item kEFAULTErr

 Bad address

=cut

sub kEFAULTErr { -3213 }

=item kEBUSYErr

 Device or resource busy

=cut

sub kEBUSYErr { -3215 }

=item kEEXISTErr

 File exists

=cut

lib/Mac/Errors.pm  view on Meta::CPAN

=item kUSBNotSent1Err

 Transaction not sent

=cut

sub kUSBNotSent1Err { -6902 }

=item kUSBBufUnderRunErr

 Host hardware failure on data out, PCI busy?

=cut

sub kUSBBufUnderRunErr { -6903 }

=item kUSBBufOvrRunErr

 Host hardware failure on data in, PCI busy?

=cut

sub kUSBBufOvrRunErr { -6904 }

=item kUSBRes2Err

=cut

sub kUSBRes2Err { -6905 }

lib/Mac/Errors.pm  view on Meta::CPAN

=item dcmDictionaryNotOpenErr

 dictionary not opened

=cut

sub dcmDictionaryNotOpenErr { -7104 }

=item dcmDictionaryBusyErr

 dictionary is busy

=cut

sub dcmDictionaryBusyErr { -7105 }

=item dcmBlockFullErr

 dictionary block full

=cut

src/Errors.pl  view on Meta::CPAN

  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*/

src/Errors.pl  view on Meta::CPAN

  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 {

src/Errors.pl  view on Meta::CPAN

  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     */

src/Errors.pl  view on Meta::CPAN

  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 */

src/Errors.pl  view on Meta::CPAN

};


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*/



( run in 0.257 second using v1.01-cache-2.11-cpan-87723dcf8b7 )