Mac::Errors(3) User Contributed Perl Documentation Mac::Errors(3)

Mac::Errors - constants for Mac error codes

        use Mac::Errors qw(openErr);
        if( $value == openErr ) {
                ...
                }
        my $error = $MacErrors{ $symbol };
        # -- OR --
        my $error = $MacErrors{ $number };
        my $symbol = $error->symbol;
        my $number = $error->number;
        my $desc   = $error->description;
        # in MacPerl, $^E is meaningful, and we tie $MacError to it
        use Mac::Errors qw( $MacError );
        open FILE, $foo or die $^E;       # error number
        open FILE, $foo or die $MacError; # gets description from $^E

The %MacErrors hash indexes error information by the error number or symbol. Each value is a "Mac::Errors" object which has the symbol, number, and description.

The $MacError scalar performs some tied magic to translate MacPerl's $^E to the error text. On other platforms, it is always undef.

Returns the symbolic constant, (e.g. openErr)
Returns the error number, (e.g. -23)
Returns the error description from MacErrors.h, which may mean something to you, and may not, (e.g. I/O System Errors).

Descriptions of errors are not unique, and some errors do not have a description.

All symbolic constants also have a subroutine of the same name. The subroutine returns the error number.

 error in user parameter list
    
 Sound Manager Error Returns
    
 Sound Manager Error Returns
    
 queue element not found during deletion
    
 invalid queue element
    
 core routine number out of range
    
 unimplemented core routine
    
 invalid queue element
    
 no debugger installed to handle debugger command
    
 I/O System Errors
    
 I/O System Errors
    
 I/O System Errors
    
 I/O System Errors
    
 I/O System Errors
    
 I/O System Errors
    
 I/O System Errors
    
 I/O System Errors
    
 tried to remove an open driver
    
 IO call aborted by KillIO
    
 IO abort error (Printing Manager)
    
 Couldn't rd/wr/ctl/sts cause driver not opened
    
 unit table has no more entries
    
 dce extension error
    
 invalid slot # error
    
 gcr format on high density media error
    
 Directory full
    
 disk full
    
 no such volume
    
 I/O error (bummers)
    
 there may be no bad names in the final system!
    
 File not open
    
 End of file
    
 tried to position to before start of file (r/w)
    
 memory full (open) or file won't fit (load)
    
 too many files open
    
 File not found
    
 diskette is write protected.
    
 volume is locked
    
 File is busy (delete)
    
 duplicate filename (rename)
    
 file already open with write permission
    
 refnum error
    
 get file position error
    
 volume not on line error (was Ejected)
    
 permissions error (on file open)
    
 drive volume already on-line at MountVol
    
 no such drive (tried to mount a bad drive num)
    
 not a mac diskette (sig bytes are wrong)
    
 volume in question belongs to an external fs
    
 file system internal error:during rename the old entry was deleted but could not be restored.
    
 bad master directory block
    
 write permissions error
    
 Directory not found
    
 No free WDCB available
    
 Move into offspring error
    
 Wrong volume type error [operation not supported for MFS]
    
 no file thread exists.
    
 file id already exists
    
 directory specified
    
 files on different volumes
    
 the catalog has been modified
    
 desktop database files are corrupted
    
 can't exchange a file with itself
    
 file id is dangling or doesn't match with the file number
    
 when _Mount allows only remounts and doesn't get one
    
 file's EOF, offset, mark or size is too big
    
 file or volume is too big for system
    
 can't eject because volume is in use by VM
    
 FCBRecPtr is not valid
    
 selector is not recognized by this filesystem
    
 FSRef parameter is bad
    
 Fork name parameter is bad
    
 A buffer parameter was bad
    
 A ForkRefNum parameter was bad
    
 A CatalogInfoBitmap or VolumeInfoBitmap has reserved or invalid bits set
    
 A CatalogInfo parameter was NULL
    
 Expected a folder, got a file
    
 Named fork does not exist
    
 File/fork name is too long to create/rename
    
 A Unicode name parameter was NULL or nameLength parameter was zero
    
 Newline bits set in positionMode
    
 Invalid bits set in allocationFlags
    
 Iteration ran out of items to return
    
 maximumItems was zero
    
 Something wrong with CatalogSearch searchParams
    
 FSCompareFSRefs; refs are for different objects
    
 Named fork already exists.
    
 Flags passed to FSOpenIterator are bad
    
 Passed FSIterator is not an open iterator
    
 The iterator's flags or container are not supported by this call
    
 returned by glue.
    
 Version non-positive
    
 Version bigger than call can handle
    
 error during font declaration
    
 font not declared
    
 font substitution occurred
    
 bitmap font passed to routine that does outlines only
    
 I/O System Errors
    
 I/O System Errors
    
 drive not installed
    
 r/w requested for an off-line drive
    
 couldn't find valid addr mark
    
 read verify compare failed
    
 addr mark checksum didn't check
    
 bad addr mark bit slip nibbles
    
 couldn't find a data mark header
    
 bad data mark checksum
    
 bad data mark bit slip nibbles
    
 write underrun occurred
    
 step handshake failed
    
 track 0 detect doesn't change
    
 unable to initialize IWM
    
 tried to read 2nd side on a 1-sided drive
    
 unable to correctly adjust disk speed
    
 track number wrong on address mark
    
 sector number never found on a track
    
 can't find sector 0 after track format
    
 can't get enough sync
    
 track failed to verify
    
 unable to read same clock value twice
    
 time written did not verify
    
 parameter ram written didn't read-verify
    
 InitUtil found the parameter ram uninitialized
    
 SCC receiver error (framing; parity; OR)
    

 No scrap exists error
    

 Length error ddpLenErr
    
 error in soket number
    
 data length too big
    
 no network bridge for non-local send
    
 error in attaching/detaching protocol
    
 excessive collisions on write
    
 serial port not currently powered
    
 driver Open error code (port is in use)
    

 soft error in ROZ
    
 hard error in ROZ
    
 hard error in ROZ
    
 Not enough room in heap zone
    
 Master Pointer was NIL in HandleZone or other
    
 WhichZone failed (applied to free block)
    
 trying to purge a locked or non-purgeable block
    
 address was odd; or out of range
    
 Address in zone check failed
    
 Pointer Check failed
    
 Block Check failed
    
 Size Check failed
    

 Resource already in memory
    
 Writing past end of file
    
 Offset of Count out of bounds
    
 Resource not found
    
 Resource file not found
    
 AddResource failed
    
 AddReference failed
    
 RmveResource failed
    
 RmveReference failed
    
 attribute inconsistent with operation
    
 map inconsistent with operation
    
 resource bent ("the bends") - can't decompress a compressed resource
    
 extended resource has a bad format.
    
 Color2Index failed to find an index
    
 failed to allocate memory for temporary structures
    
 failed to allocate memory for structure
    
 range error on colorTable request
    
 colorTable entry protection violation
    
 invalid type of graphics device
    
 invalid resolution for MakeITable
    
 invalid pixel depth
    
 insufficient memory to update a pixmap
    
 wrong version of the PictInfo structure
    
 the internal consistancy check for the PictInfoID is wrong
    
 the passed verb was invalid
    
 unable to load the custom pick proc
    
 the number of colors requested was illegal
    

 CMM not present
    
 Responder error
    
 Profiles the same
    
 Profile can't be concatenated
    
 CMM cant handle XYZ space
    
 Responder error
    
 Responder error
    

 obsolete spelling
    
 obsolete spelling
    
 Sound Manager Error Returns
    
 Sound Manager Error Returns
    
 Sound Manager Error Returns
    
 Sound Manager Error Returns
    
 could not allocate enough memory
    
 was not type AIFF or was of bad format,corrupt
    
 the Channel is being used for a PFD already
    
 can not operate in the memory allowed
    
 not enough CPU cycles left to add another task
    
 vbr audio compression not supported for this operation
    
 no Sound Input hardware
    
 invalid index passed to SoundInGetIndexedDevice
    
 returned by synchronous SPBRecord if nil buffer passed
    
 invalid compression type
    
 hard drive too slow to record to disk
    
 invalid sample rate
    
 invalid sample size
    
 input device already in use
    
 input device could not be opened
    
 invalid input device reference number
    
 input device hardware failure
    
 invalid info type selector (returned by driver)
    
 no client with that ID found
    
 no port with that ID found
    
 too many ports already installed in the system
    
 too many connections made
    
 pending virtual connection created
    
 pending virtual connection resolved
    
 pending virtual connection removed
    
 no connection exists between specified ports
    
 MIDIWritePacket couldn't write to all connected ports
    
 name supplied is longer than 31 characters
    
 duplicate client ID
    
 slot int dispatch table could not be initialized.
    
 VBLqueues for all slots could not be initialized.
    
 slot priority table could not be initialized.
    
 SDM Jump Table could not be initialized.
    
 SDM could not be initialized.
    
 Slot Resource Table could not be initialized.
    
 Slot PRAM could not be initialized.
    
 Error; SDM could not be initialized.
    
 Error; Slot Resource Table could not be initialized.
    
 Error; Slot Resource Table could not be initialized.
    
 Error; Cards could not be initialized.
    
 No card in slot
    
 CRC check failed for declaration data
    
 FHeader Format is not Apple's
    
 Wrong revison level
    
 Directory offset is Nil
    
 This slot is disabled (-305 use to be smLWTstBad)
    
 Fatal reserved error. Resreved field <> 0.
    
 Unexpected BusError
    
 ByteLanes field was bad.
    
 Error occurred during _sGetFHeader.
    
 Error occurred during _sDisposePtr (Dispose of FHeader block).
    
 _DisposePointer error
    
 No Board sResource.
    
 Error occurred during _sGetPRAMRec (See SIMStatus).
    
 No Board Id.
    
 The InitStatusV field was negative after primary or secondary init.
    
 An error occurred while trying to initialize the Slot Resource Table.
    
 SDM jump table could not be created.
    
 slot is reserved, VM should not use this address space.
    
 BoardId was wrong; re-init the PRAM record.
    
 BusError time out.
These errors are logged in the  vendor status field of the sInfo record.
    
 Temporarily disable card but run primary init.
    
 Reserve range -32640 to -32768 for Apple temp disables.
    
 Reference Id not found in List
    
 Bad sList: Id1 < Id2 < Id3 ...format is not followed.
    
 Reserved field not zero
    
 Code revision is wrong
    
 LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information.
    
 Nil sBlock error (Dont allocate and try to use a nil sBlock)
    
 Slot out of bounds error
    
 Selector out of bounds error
    
 _NewPtr error
    
 _BlockMove error
    
 Status of slot = fail.
    
 Error occurred during _sGetDrvrName.
    
 Error occurred during _sDisDrvrName.
    
 No more sResources
    
 Error occurred during _sGetDriver.
    
 Bad pointer was passed to sCalcsPointer
    
 NumByteLanes was determined to be zero.
    
 Offset was too big (temporary error
    
 No opens were successfull in the loop.
    
 SRT over flow.
    

 The file is not a dictionary.
    
 Can't allocate disk space.
    
 Record already exists.
    
 Record cannot be found.
    
 Maximum key length is too long or equal to zero.
    
 There is no such a key attribute.
    
 There is no such an insert mode.
    
 The record data is bigger than buffer size (1024 bytes).
    
 Foreign File system does not exist - new Pack2 could return this error too
    
 File system is busy, cannot be removed
    
 Name length not 1 <= length <= 31
    
 FSD size incompatible with current FSM vers
    
 FSID already exists on InstallFS
    
 FSM version incompatible with FSD
    
 no alternate stack for HFS CI
    

 edition manager not inited by this app
    
 not a valid SectionRecord
    
 not a registered SectionRecord
    
 edition file is corrupt
    
 can not use sub parts in this release
    
 A Publisher is already registered for that container
    
 could not find editionContainer at this time
    
 container already opened by this section
    
 scrap item too big for text edit record
    
 bad selector for _HWPriv
    

 no eligible process with specified descriptor
    
 not enough room to launch app w/special requirements
    
 memory mode is 32-bit, but app not 32-bit clean
    
 app made module calls in improper order
    
 hardware configuration not correct for call
    
 application SIZE not big enough for launch
    
 app is BG-only, and launch flags disallow this
    
 error returns from Post and Accept
    

 The application could not launch because the required platform is not available
    
 The application's creator and version are incompatible with the current version of Mac OS.
    
 insufficient physical memory
    
 specified range of memory is not held
    
 cannot make specified range contiguous
    
 specified range of memory is not locked
    
 don't call with interrupts masked
    
 unable to defer additional functions
    
 VM could not start because there was more physical memory than virtual memory (bad setting in VM config resource)
    
 VM could not start because VM_MMUInit kernel call failed
    
 VM was configured off, or command key was held down at boot
    
 VM could not start because of a lock table conflict (only on non-SuperMario ROMs)
    
 VM could not start because the driver was incompatible
    
 invalid BackingFileID
    
 requested MappingPrivileges cannot be obtained
    
 open views found on BackingFile
    
 no more BackingFiles were found
    
 invalid FileViewID
    
 requested FileViewAccess cannot be obtained
    
 no more FileViews were found
    
 address is not in a FileView
    
 bad session number for DBGetConnInfo
    
 bad ddev specified on DBInit
    
 ddev does not support async calls
    
 tried to kill a bad pb
    
 no app handler for specified data type
    
 incompatible versions
    
 Show Balloons mode was off, call to routine ignored
    
 Returned if mouse was moving or mouse wasn't in window port rect
    
 Returned from HMShowMenuBalloon if menu & item is same as last time
    
 Returned from HMGetHelpMenuHandle if help menu not setup
    
 Returned from calls if helpmsg specified a skip balloon
    
 Returned if help mgr resource was the wrong version
    
 Returned if help msg record contained a bad type
    
 Returned from HMShowBalloon call if bad method passed to routine
    
 Returned from HMRemoveBalloon if no balloon was visible when call was made
    

 PPCToolBox not initialized
    
 Invalid or inappropriate locationKindSelector in locationName
    
 Unable to open port or bad portRefNum.  If you're calling
AESend, this is because your application does not have
    
 The system is hosed, better re-boot
    
 Network activity is currently disabled
    
 Port does not exist at destination
    
 Out of session tables, try again later
    
 Invalid session reference number
    
 bad parameter or invalid state for operation
    
 port is already open (perhaps in another app)
    
 user name unknown on destination machine
    
 Destination rejected the session request
    
 user hasn't named his Macintosh in the Network Setup Control Panel
    
 A system resource is missing, not too likely
    
 unable to contact destination
    
 port was closed
    
 session was closed
    
 PPCPortRec malformed
    
 user hasn't typed in owners name in Network Setup Control Pannel
    
 The default userRefNum does not yet exist
    
 unable to create a new userRefNum
    
 An error has occurred in the network, not too likely
    
 PPCStart failed because destination did not have inform pending
    
 unable to authenticate user at destination
    
 Invalid user reference number
    
 illegal service type, or not supported
    
 location name malformed
    

 Buffer overflow in LookupName
    
 Name confirmed at different socket
    
 Duplicate name exists already
    
 Name not found on remove
    
 Server cannot support this ASP version
    
 Buffer too small
    
 No more sessions on server
    
 No servers at that address
    
 Parameter error
    
 Server cannot open another session
    
 Session closed
    
 Command block too big
    
 Too many clients (server error)
    

 bad connection refNum
    
 control call was aborted
    
 bad connection state for this operation
    
 open connection request failed
    
 attention message too long
    
 read terminated by forward reset
    
 DSP Read/Write Queue Too small
    

 bad parameter data or unable to coerce the data supplied
    
 the specified list item does not exist
    
 need newer version of the AppleEvent manager
    
 the event is not in AppleEvent format
    
 the AppleEvent was not handled by any handler
    
 AEResetTimer was passed an invalid reply parameter
    
 mode wasn't NoReply, WaitReply, or QueueReply or Interaction level is unknown
    
 in AESend, the user cancelled out of wait loop for reply or receipt
    
 the AppleEvent timed out
    
 no user interaction is allowed
    
 there is no special function for/with this keyword
    
 a required parameter was not accessed
    
 the target address type is not known
    
 no handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler
    
 the contents of the reply you are accessing have not arrived yet
    
 index is out of range in a put operation
    
 A range like 3rd to 2nd, or 1st to all.
    
 Logical op kAENOT used with other than 1 term
    
 Accessor proc matching wantClass and containerType or wildcards not found
    
 Something other than AND, OR, or NOT
    
 Test is neither typeLogicalDescriptor nor typeCompDescriptor
    
 Param to AEResolve not of type 'obj '
    
 e.g.,: specifier asked for the 3rd, but there are only 2. Basically, this indicates a run-time resolution error.
    
 CountProc returned negative value
    
 Attempt to pass empty list as container to accessor
    
 available only in version 1.0.1 or greater
    
 available only in version 1.0.1 or greater
    
 break out of all levels of AEReceive to the topmost (1.1 or greater)
    
 break out of only lowest level of AEReceive (1.1 or greater)
    
 event has been filtered, and should not be propogated (1.1 or greater)
    
 attempt to install handler in table for identical class and id (1.1 or greater)
    
 nesting violation while streaming
    
 attempt to convert a stream that has already been converted
    
 attempting to perform an invalid operation on a null descriptor
    
 AEBuildDesc and friends detected a syntax error
    
 Parameters are from 2 different components
    

 unknown drag reference
    
 unknown drag item reference
    
 unknown flavor type
    
 flavor type already exists
    
 error while trying to get flavor data
    
 handler already exists
    
 handler not found
    
 drag was not accepted by receiver
    
 call is for PowerPC only
    
 no displays support translucency
    
 bad translucent image region
    
 bad translucent image PixMap
    

 replica
    
 happens when file already exists
    
 QT for Windows error
    
 QT for Windows error
    
 QT for Windows error
    
 Windows specific errors (when component is loading)
    
 Windows specific errors (when component is loading)
    
 Windows specific errors (when qtml is loading)
    
 Windows specific errors (when qtml is loading)
    
 feature unimplemented
    
 bad input parameter (out of range, etc)
    
 bad matrix, digitizer did nothing
    
 warning of bad matrix, digitizer did its best
    
 all key indexes in use
    
 Can't do exact size requested
    
 Can't digitize into this depth
    
 Can't do DMA digitizing (i.e. can't go to requested dest
    

 component result = no error
    
 not an application error
    
 want to register again error
    
 app never registered error (not TSM aware)
    
 invalid TSM documentation id
    
 document is still active
    
 document is NOT active
    
 no open text service
    
 can't open the component
    
 no text service found
    
 there are open documents
    
 not TSM aware because we are using input window
    
 the text service has no menu
    
 text service is not open
    
 text service already opened for the document
    
 returned by GetDefaultInputMethod
    
 script has no imput method or is using old IM
    
 unSupported interface type error
    
 any other errors
    
 Invalid TSMContext specified in call
    
 No Callback Handler exists for callback
    
 No more tokens are available for the source text
    
 No stem exists for the token
    

 a path component lookup failed
    
 buffer for path is too small
    
 invalid entry iteration operation
    
 property already exists
    
 iteration operation is done
    
 outer scope of iterator was exited
    
 transaction was aborted
    

 The icon ref is not valid
    
 The requested icon could not be found
    

 Signaled when a value can't be coerced to the desired type.
    
 Signaled when an object is not found in a container
    
 Signaled when an object cannot be set in a container.
    
 Signaled by user scripts or applications when no actual error code is to be returned.
    
 Signaled when there is an attempt to divide by zero
    
 Signaled when integer or real value is too large to be represented
    
 Signaled when application can't be launched or when it is remote and program linking is not enabled
    
 Signaled when an application can't respond to AppleEvents
    
 Signaled when an application's terminology resource is not readable
    
 Signaled when the runtime stack overflows
    
 Signaled when a runtime internal data structure overflows
    
 Signaled when an intrinsic limitation is exceeded for the size of a value or data structure.
    

 Signaled when a message was sent to an object that didn't handle it
    
 Signaled when a function to be returned doesn't exist.
    
 Signaled when a container can never have the requested object
    
 Signaled when index was out of range. Specialization of errOSACantAccess
    
 Signaled when a range is screwy. Specialization of errOSACantAccess
    
 Signaled when an object can never be set in a container
    
 Signaled when a syntax error occurs. (e.g. "Syntax error" or "<this> can't go after <that>")
    
 Signaled when another form of syntax was expected. (e.g. "expected a <type> but found <this>")
    
 Signaled when a name or number is too long to be parsed
    
 Signaled when a parameter is missing for a function invocation
    
 Signaled when function is called with the wrong number of parameters, or a parameter pattern cannot be matched
    
 Signaled when a formal parameter, local variable, or instance variable is specified more than once
    
 Signaled when a formal parameter, local variable, or instance variable is specified more than once.
    
 Signaled when more than one handler is defined with the same name in a scope where the language doesn't allow it
    
 Signaled when a variable is accessed that has no value
    
 Signaled when a variable is declared inconsistently in the same scope, such as both local and global
    
 Parser/Compiler errors:
    
 The range -2780 thru -2799 is reserved for dialect specific error codes. (Error codes from different dialects may overlap.)
    

 The first value in the range of CFM errors.
    
 The context ID was not valid.
    
 The connection ID was not valid.
    
 The specified symbol was not found.
    
 The specified section was not found.
    
 The named library was not found.
    
 The registration name was already in use.
    
 A fragment's container format is unknown.
    
 A fragment had "hard" unresolved imports.
    
 The registration insertion point was not found.
    
 Out of memory for internal bookkeeping.
    
 Out of memory for fragment mapping or section instances.
    
 No more CFM IDs for contexts, connections, etc.
    
 An import library was too old for a client.
    
 An import library was too new for a client.
    
 Circularity in required initialization order.
    
 A boot library has an initialization function.  (System 7 only)
    
 Internal error during CFM initialization.
    
 An internal inconstistancy has been detected.
    
 A fragment's container was corrupt (known format).
    
 A fragment's initialization routine returned an error.
    
 No application member found in the cfrg resource.
    
 A fragment has an unacceptable architecture.
    
 A semantic error in usage of the fragment.
    
 A file was too large to be mapped.
    
 The closure ID was actually a connection ID.
    
 The registration name was not found.
    
 The fragment container ID was not valid.
    
 The closure ID was not valid.
    
 Used by notification handlers to abort a closure.
    
 An output parameter is too small to hold the value.
    

 Source type to destination type not a valid path
    
 Source document does not contain source type
    

 No Error occurred
    
 OT ran out of memory, may be a temporary
    
 OT generic not found error
    
 OT generic duplicate found error
    
 XTI2OSStatus(TBADADDR) A Bad address was specified
    
 XTI2OSStatus(TBADOPT) A Bad option was specified
    
 XTI2OSStatus(TACCES) Missing access permission
    
 XTI2OSStatus(TBADF) Bad provider reference
    
 XTI2OSStatus(TNOADDR) No address was specified
    
 XTI2OSStatus(TOUTSTATE) Call issued in wrong state
    
 XTI2OSStatus(TBADSEQ) Sequence specified does not exist
    
 XTI2OSStatus(TSYSERR) A system error occurred
    
 XTI2OSStatus(TLOOK) An event occurred - call Look()
    
 XTI2OSStatus(TBADDATA) An illegal amount of data was specified
    
 XTI2OSStatus(TBUFOVFLW) Passed buffer not big enough
    
 XTI2OSStatus(TFLOW) Provider is flow-controlled
    
 XTI2OSStatus(TNODATA) No data available for reading
    
 XTI2OSStatus(TNODIS) No disconnect indication available
    
 XTI2OSStatus(TNOUDERR) No Unit Data Error indication available
    
 XTI2OSStatus(TBADFLAG) A Bad flag value was supplied
    
 XTI2OSStatus(TNOREL) No orderly release indication available
    
 XTI2OSStatus(TNOTSUPPORT) Command is not supported
    
 XTI2OSStatus(TSTATECHNG) State is changing - try again later
    
 XTI2OSStatus(TNOSTRUCTYPE) Bad structure type requested for OTAlloc
    
 XTI2OSStatus(TBADNAME) A bad endpoint name was supplied
    
 XTI2OSStatus(TBADQLEN) A Bind to an in-use addr with qlen > 0
    
 XTI2OSStatus(TADDRBUSY) Address requested is already in use
    
 XTI2OSStatus(TINDOUT) Accept failed because of pending listen
    
 XTI2OSStatus(TPROVMISMATCH) Tried to accept on incompatible endpoint
    
 XTI2OSStatus(TRESQLEN)
    
 XTI2OSStatus(TRESADDR)
    
 XTI2OSStatus(TQFULL)
    
 XTI2OSStatus(TPROTO) An unspecified provider error occurred
    
 XTI2OSStatus(TBADSYNC) A synchronous call at interrupt time
    
 XTI2OSStatus(TCANCELED) The command was cancelled
    
 Permission denied
    
 No such file or directory
    
 No such resource
    
 Interrupted system service
    
 I/O error
    
 No such device or address
    
 Bad file number
    
 Try operation again later
    
 Not enough space
    
 Permission denied
    
 Bad address
    
 Device or resource busy
    
 File exists
    
 No such device
    
 Invalid argument
    
 Not a character device
    
 Broken pipe
    
 Message size too large for STREAM
    
 Call would block, so was aborted
    
 or a deadlock would occur
    
 Socket operation on non-socket
    
 Destination address required
    
 Message too long
    
 Protocol wrong type for socket
    
 Protocol not available
    
 Protocol not supported
    
 Socket type not supported
    
 Operation not supported on socket
    
 Address already in use
    
 Can't assign requested address
    
 Network is down
    
 Network is unreachable
    
 Network dropped connection on reset
    
 Software caused connection abort
    
 Connection reset by peer
    
 No buffer space available
    
 Socket is already connected
    
 Socket is not connected
    
 Can't send after socket shutdown
    
 Too many references: can't splice
    
 Connection timed out
    
 Connection refused
    
 Host is down
    
 No route to host
    
 ''' fill out missing codes '''
    

 no 68k allowed
    
 A custom thread routine encountered an error
    
 URL contains illegal characters
    
 The NSL UI Library needs to be in the Extensions Folder
    
 (one or more plugins failed to load, but at least one did load; this error isn't fatal)
    
 (client passed a null neighborhood ptr)
    
 (no plugins will respond to search request; bad protocol(s)?)
    
 (you can only have one ongoing search per clientRef)
    
 (manager didn't find any valid plugins to load)
    
 (manager unable to load one of the plugins)
    
 (client is trying to add a null protocol type)
    
 (client is trying to add items to a nil list)
    
 (nil ClientAsyncInfoPtr; no reference available)
    
 (Can't continue lookup; error or bad state)
    
 (Client buffer too small for data from plugin)
    
 (ContinueLookup function ptr invalid)
    

 Tag index out of range
    
 A Profile must contain a 'cs1 ' tag to be valid
    
 Operation not supported for this profile location
    
 Illegal to copy version 1 profiles that have been modified
Profile Search Errors
    
 Bad Search Handle
    
 Other ColorSync Errors
    
 Profile colorspace does not match bitmap type
    
 Source pix/bit map was invalid
    
 Destination pix/bit map was invalid
    
 Begin/End Matching -- no gdevices available
    
 Bad Profile comment during drawpicture
    
 Color conversion warning that some output color values over/underflowed and were clipped
    
 NamedColor not found
    
 == noTypeErr
    

 Insufficient access privileges for operation
    
 Further information required to complete AFPLogin call
    
 Unknown user authentication method specified
    
 Unknown AFP protocol version number specified
    
 Bitmap contained bits undefined for call
    
 Move destination is offspring of source, or root was specified
    
 Specified open/deny modes conflict with current open modes
    
 Cannot delete non-empty directory
    
 Insufficient free space on volume for operation
    
 Read beyond logical end-of-file
    
 Cannot delete an open file
    
 Cannot create directory on specified volume
    
 Unknown UserName/UserID or missing comment/APPL entry
    
 Some or all of requested range is locked by another user
    
 Unexpected error encountered during execution
    
 Maximum lock limit reached
    
 Server not responding
    
 Specified destination file or directory already exists
    
 Specified file or directory does not exist
    
 A specified parameter was out of allowable range
    
 Tried to unlock range that was not locked by user
    
 Some or all of range already locked by same user
    
 Session closed
    
 No AFPLogin call has successfully been made for this session
    
 Unsupported AFP call was made
    
 File/Directory specified where Directory/File expected
    
 Maximum open file count reached
    
 Server is shutting down
    
 AFPRename cannot rename volume
    
 Unknown directory specified
    
 Icon size specified different from existing icon size
    
 Volume is Read-Only
    
 Object is M/R/D/W inhibited
    
 the folder being shared contains a shared folder
    
 Someone tried to change their password to the same password on a mantadory password change
    
 The password being set is too short: there is a minimum length that must be met or exceeded
    
 The password being used is too old: this requires the user to change the password before log-in can continue
    
 The folder being shared is inside a shared folder OR the folder contains a shared folder and is being moved into a shared folder
OR the folder contains a shared folder and is being moved into the descendent of a shared folder.
    
 The folder being shared is inside the trash folder OR the shared folder is being moved into the trash folder
OR the folder is being moved to the trash and it contains a shared folder
    
 The password needs to be changed
    
 Password does not conform to servers password policy
    
 User has been authenticated but is already logged in from another machine (and that's not allowed on this server)
    

 The Maximum number of server connections has been reached
    
 The volume is already mounted
    

 deprecated misspelled versions:
    

 something is wrong with the data
    

 value returned if Gestalt doesn't know the answer
    
 undefined selector was passed to Gestalt
    
 tried to add an entry that already existed
    
 invalid property creator
    
 "menuPropertyInvalid" is deprecated
    
 specified property wasn't found
    
 specified menu or menu ID wasn't found
    
 GetMenuDefinition failed because the menu uses the system MDEF
    
 specified menu item wasn't found
    
 tried to pass a bad WindowRef argument
    
 tried to pass a bad WindowRef argument
    
 tried to create a window with WindowAttributes not supported by the WindowClass
    
 tried to do something requiring a proxy to a window which doesn't have a proxy
    
 tried to access a property tag with private creator
    
 tried to get a nonexistent property
    
 tried to create a window with a bad WindowClass
    
 tried to load a corrupt window description (size or version fields incorrect)
    
 if returned from TrackWindowProxyDrag, you should call DragWindow on the window
    
 tried to call InitFloatingWindows twice, or called InitWindows and then floating windows
    
 called HideFloatingWindows or ShowFloatingWindows without calling InitFloatingWindows
    
 returned from FindWindowOfClass
    
 ConstrainWindowToScreen could not make the window fit onscreen
    
 tried to change attributes which can't be changed
    
 passed some attributes that are mutually exclusive
    
 something really weird happened inside the window manager
    
 window is not in a state that is valid for the current action
    
 WindowGroup is invalid
    
 we're already running this window modally
    
 there's no app modal state for the window
    

 Unexpected Error
Mirroring-Specific Errors
    
 Returned by all calls that need mirroring to be off to do their thing.
    
 Can only handle 2 displays for now.
    
 DMBlockMirroring() has been called.
    
 Mirroring is already on, can't Block now (call DMUnMirror() first).
    
 Returned by all calls that need mirroring to be on to do their thing.
Other Display Manager Errors
    
 Missing critical pieces of System Software.
    
 Required software not initialized (eg windowmanager or display mgr).
    
 Video Driver does not support display manager.
    
 Could not find item (will someday remove).
    
 Could not find item.
    
 Attempt to add an already installed display.
    
 Trying to move main display (or a display mirrored to it)
    
 obsolete
    
 output buffer is too small to store any result
    
 specified environment is used
    
 can't fint the specified environment
    
 same name environment is already exists
    
 path is not correct
    
 nothing to read
    
 analysis failed
    
 text is too long
    
 the dictionary is not opened
    
 can't use this dictionary with this environment
    
 too many dictionaries
    
 Invalid property value
    
 the property is unknown to this environment
    
 the property is read only
    
 can't find the property
    
 Error in properties
    
 Transaction not sent
    
 Transaction not sent
    
 Host hardware failure on data out, PCI busy?
    
 Host hardware failure on data in, PCI busy?
    
 Less data than buffer
    
 Packet too large or more data than buffer
    
 Pipe stall, Bad or wrong PID
    
 Pipe stall, PID CRC error
    
 Pipe stall, No device, device hung
    
 Device didn't understand
    
 Pipe stall, Bad data toggle
    
 Pipe stall, bitstuffing
    
 Pipe stall, bad CRC
    
 Internal queue maxxed
    
 Notification was not handled   (same as NotFound)
    
 Notification type not defined
    
 The port you are attached to is disabled, use USBDeviceReset.
    
 Pipe zero stall cleared.
    
 Transaction timed out.
    
 Disconnected during suspend or reset
    
 device is not suspended for resume
    
 Device is suspended
    
 bad buffer, usually nil
    
 Device has a power problem
    
 Device is already being configured
    
 Interface ref not recognised
    
 Pipe has stalled, error needs to be cleared
    
 Pipe is Idle, it will not accept transactions
    
 Not enough bandwidth available
    
 Pipe aborted
    
 Unused flags not zeroed
    
 no completion routine specified
    
 pbLength too small
    
 Wrong pbVersion
    
 Not found
    
 Out of memory
    
 Device error
    
 No device
    
 Already open
    
 Too many transactions
    
 Unknown request
    
 Request error
    
 Incorrect type
    
 Too many pipes
    
 Pipe ref not recognised
    
 device ref not recognised
    
 bad parameter
    
 not dictionary
    
 invalid dictionary
    
 invalid permission
    
 dictionary not opened
    
 dictionary is busy
    
 dictionary block full
    
 no such record
    
 same record already exist
    
 lack required/identify field
    
 incomplete information
    
 no such field type supported
    
 no such field exist
    
 bad key information
    
 too many key field
    
 too big data size
    
 no such find method supported
    
 no such property exist
    
 need keyword to use dictionary
    
 no such AccessMethod
    
 invalid AccessMethod feature
    
 no more item in iterator
    
 TCP/IP inactive, cannot be loaded
    
 TCP/IP not configured, could be loaded
    
 when IPCP is not primary TCP/IP intf.
    
 An attempt was made to use a ATSUTextLayout
which hadn't been initialized or is otherwise
    
 An attempt was made to use a ATSUStyle which
hadn't been properly allocated or is otherwise
    
 An attempt was made to extract information
from or perform an operation on a ATSUTextLayout
    
 This is not an error code but is returned by
ATSUMatchFontsToText() when changes need to
    
 This value is returned by ATSUMatchFontsToText()
when the text contains Unicode characters which
    
 This value is retrned by font ID conversion
routines ATSUFONDtoFontID() and ATSUFontIDtoFOND()
    
 Used when an attempt was made to use an invalid font ID.
    
 Used when an attempt was made to use an attribute with
a bad or undefined value.
    
 Used when an attempt was made to use an attribute with a
bad size.
    
 Used when an attempt was made to use a tag value that
was not appropriate for the function call it was used.
    
 Used when an attempt was made to read in style data
from an invalid cache.  Either the format of the
    
 Used when the client attempts to retrieve an attribute,
font feature, or font variation from a style when it
    
 Used when an attempt was made to measure, highlight or draw
a ATSUTextLayout object that has no styleRuns associated with it.
    
 Used when QuickDraw Text encounters an error rendering or measuring
a line of ATSUI text.
    
 Used when an error was encountered within the low level ATS
mechanism performing an operation requested by ATSUI.
    
 Used when no CMAP table can be accessed or synthesized for the
font passed into a SetAttributes Font call.
    
 Used when no font scaler is available for the font passed
into a SetAttributes Font call.
    
 Used to indicate the coordinates provided to an ATSUI routine caused
a coordinate overflow (i.e. > 32K).
    
 This is not an error code but is returned by ATSUBreakLine to
indicate that the returned offset is within a word since there was
    
 An ATSUI object is being used by another thread
    
 An attempt was made to use a ATSUFontFallbacks
which hadn't been initialized or is otherwise
    

 specified encoding not supported for this operation
    
 in DBCS, for example, high byte followed by invalid low byte
    
 text conversion errors
    
 invalid converter object reference
    
 output buffer too small to allow processing of first input text element
    
 supplied name buffer or TextRun, TextEncoding, or UnicodeMapping array is too small
    
 input buffer ends in the middle of a multibyte character, conversion stopped
    
 text element may be incomplete or is too long for internal buffers
    
 direction stack overflow, etc.
    
 globals have already been deallocated (premature TERM)
    
 item (e.g. name) not available for specified region (& encoding if relevant)
text conversion status codes
    
 output buffer has no room for conversion of next input text element (partial conversion)
deprecated error & status codes for low-level converter
    
 codec disabled itself -- pass codecFlagReenable to reset
    
 codec needs password in order to decompress
    
 returned from ImageCodecDrawBand
    
 invalid adapter number
    
 specified attributes field value is invalid
    
 specified base system memory address is invalid
    
 specified EDC generator specified is invalid
    
 specified IRQ level is invalid
    
 specified PC card memory array offset is invalid
    
 specified page is invalid
    
 specified size is invalid
    
 specified logical or physical socket number is invalid
    
 specified window or interface type is invalid
    
 specified Vcc power level index is invalid
    
 specified Vpp1 or Vpp2 power level index is invalid
    
 specified window is invalid
    
 ArgLength argument is invalid
    
 values in argument packet are invalid
    
 clientHandle is invalid
    
 CIS on card is invalid
    
 specified speed is unavailable
    
 unable to complete read request
    
 unable to complete write request
    
 an undefined error has occurred
    
 no PC card in the socket
    
 function is not supported by this implementation
    
 mode is not supported
    
 unable to process request at this time - try later
    
 media is write-protected
    
 a configuration has already been locked
    
 requested resource is being used by a client
    
 there are no more of the requested item
    
 Card Services has exhausted the resource
    
 _PCCSLPostCardEvent failed and dropped an event
    
 Unsupported Voltage Sense
    
 Card Services ClientID is not registered
    
 Data in tuple is invalid
    
 Custom interface ID is invalid
    
 Request I/O window before calling configuration
    
 All timer callbacks are in use
    
 All internal Interrupt slots are in use
    
 The client table has not be initialized yet
    
 Card not supported by generic enabler
    
 No Enablers were found
    
 No Enablers were found that can support the card
    
 There is no compatible driver name for this device
    
 CS Clients should return this code inorder to
deny a request-type CS Event
    
 PC Card failed to go ready
    
 device requested more than one I/O window
    
 The state has been saved on previous call
    
 The Enabler was asked to create a duplicate card entry
    
 Power to the card has been turned off
    
 This socket does not support Zoomed Video
    
 enumerated value in SetData is not allowed for this property
    
 in make new, duplicate, etc. class can't be an element of container
    
 no telephone tools found in extension folder
    
 invalid TELHandle or handle not found
    
 TELDNHandle not found or invalid
    
 TELCAHandle not found or invalid
    
 bad handle specified
    
 bad msgProc specified
    
 a CA is not available
    
 no memory to allocate handle
    
 unable to open terminal
    
 bad hook type specified
    
 hook type not supported by this tool
    
 bad volume level setting
    
 bad volume type error
    
 volume type not supported by this tool
    
 bad alerting pattern specified
    
 alerting pattern not supported by tool
    
 bad index specified
    
 index not supported by this tool
    
 bad device state specified
    
 device state not supported by tool
    
 bad internal external error
    
 internal external type not supported by this tool
    
 bad DND type specified
    
 DND type is not supported by this tool
    
 feature not subscribed
    
 feature subscribed but not available
    
 feature already active
    
 feature program call not supported by this tool
    
 limit specified is too high for this configuration
    
 no limit was specified but required
    
 conference was not prepared
    
 conference request was rejected
    
 transfer not prepared
    
 transfer request rejected
    
 call back feature not set previously
    
 attempt to exceed switch conference limits
    
 DN type invalid
    
 bad page ID specified
    
 bad intercom ID specified
    
 bad feature ID specified
    
 bad fwdType specified
    
 bad pickup group ID specified
    
 bad park id specified
    
 unable to select or deselect DN
    
 bad bearerType specified
    
 bad rate specified
    
 DN type not supported by tool
    
 forward type not supported by tool
    
 bad display mode specified
    
 display mode not supported by tool
    
 no call back reference was specified, but is required
    
 terminal already open
    
 terminal driver still needed by someone else
    
 terminal not opened via TELOpenTerm
    
 CA not "acceptable"
    
 CA not "rejectable"
    
 CA not "deflectable"
    
 parameter block error, bad format
    
 bad msgCode specified
telNoTools        = -10101,        unable to find any telephone tools
    
 unable to find tool with name specified
    
 unable to set config
    
 Communications/Extensions Ä not found
    
 initialization failed
    
 code resource not found
    
 device not found
    
 invalid procID
    
 telValidate failed
    
 autoAnswer in not turned on
    
 detection is already turned on
    
 Software not installed properly
    
 incompatible sample rate
    

 Power Mgr never ready to start handshake
    
 Timed out waiting for reply
    
 during send, pmgr did not start hs
    
 during send, pmgr did not finish hs
    
 during receive, pmgr did not start hs
    
 routine cannot be called at this time
    
 componentSignature already registered
    
 optionSelectorNum already registered
    
 componentSignature not registered
    
 optionSelectorNum is not registered
    
 componentName or optionName is invalid (NULL)
    
 debugging component has no callback
    
 dataValue is set to this per invalid tag
    
 Output buffer too small for Unicode string result
    
 A convention used with MPThrowException.
    
 ref. was NULL or otherwise bad
    
 ref. version is out of known range
    
 profile is NULL or otherwise bad
    
 profile version is out of known range
    
 the ref. being added is already in the profile
    
 reference didn't match or wasn't found in profile
    
 insufficient data for the operation
    
 flattened size didn't match input or was too small
    
 no telling what it was
    
 probably low memory
    
 bad FSSpec, or bad data in file
    
 V-Twin exception caught
    
 V-Twin exception caught
    
 V-Twin exception caught
    
 V-Twin exception caught
    
 V-Twin exception caught
    
 V-Twin exception caught
    
 couldn't read from document or query
    
 couldn't merge index files
    
 couldn't create index
    
 tried to add/remove vols to a session
that has hits
    
 pattern index invalid
    
 theme font requested for uninstalled script system
    

 when cast to an OSErr this is -32767
    
 bus error
    
 address error
    
 illegal instruction error
    
 zero divide error
    
 check trap error
    
 overflow trap error
    
 privilege violation error
    
 trace mode error
    
 line 1010 trap error
    
 line 1111 trap error
    
 miscellaneous hardware exception error
    
 unimplemented core routine error
    
 uninstalled interrupt error
    
 IO Core Error
    
 Segment Loader Error
    
 Floating point error
    
 package 0 not present
    
 package 1 not present
    
 package 3 not present
    
 package 4 not present
    
 package 5 not present
    
 package 6 not present
    
 package 7 not present
    
 out of memory!
    
 can't launch file
    
 file system map has been trashed
    
 stack has moved into application heap
    
 ZcbFree has gone negative
    
 can't load the Finder error
    
 unserviceable slot interrupt
    
 bad opcode given to SANE Pack4
    
 SetTrapAddress saw the 'come-from' header
    
 happens when a menu is purged
    
 Menu Manager Errors
    
 Menu Manager Errors
    
 could not load WDEF
    
 could not load CDEF
    
 an FPU instruction was executed and the machine doesn't have one
    
 Can't patch for particular Model Mac
    
 Can't load patch resource
    
 memory parity error
    
 System is too old for this ROM
    
 booting in 32-bit on a 24-bit sys
    
 need to write new boot blocks
    
 must have at least 1.5MB of RAM to boot 7.0
    
 bufPtr moved too far during boot
    
 VM's DeferUserFn table is full
    
 Error occurred while reading or writing the VM backing-store file
    
 Unable to hold the system heap during boot
    
 Startup disk requires PowerPC
    
 For debug builds only, signals that active gibbly was disabled during boot.
    
 Active system file will not boot on this system because it was designed only to boot from a CD.
    
 FCBSPtr and FSFCBLen are invalid - must use FSM FCB accessor functions
    
 The version of the "Mac OS ROM" file is too old to be used with the installed version of system software
    
 Lost communication with Netboot server
    
 The RAM disk is too big to boot safely; will be turned off
    
 the supervisor stack overflowed into its guard page
    
 request user to reinsert off-line volume
    
 handled like a shutdown error
    
 user choice between ShutDown and Restart
    
 user choice between switching off and Restart
    
 allow the user to ExitToShell, return if Cancel
    
 request user to remove disk from manual eject drive
    
 request user to return a manually-ejected dirty disk
    
 allow user to return to Finder or ShutDown
    
 Portable SCSI adapter warning.
    
 Media Bay replace warning.
    
 Media Bay, floppy replace warning.
    
 Media Bay, ATA replace warning.
    
 Media Bay, ATAPI replace warning...
    
 Media Bay, external floppy drive reconnect warning
    
 not a SysErr, just a placeholder
    
 not a SysErr, just a placeholder
    
 say 'MacsBug Installed'
    
 say 'Disassembler Installed'
    
 say 'Extensions Disabled'
    
 welcome to Macintosh greeting
    
 general system error
old names here for compatibility's sake
    
 not the disk I wanted
    
 unable to mount boot volume (sad Mac only)
    
 can't find System file to open (sad Mac only)
    
 say 'HD20 Startup'
    
 system error code for MBDF not found
    
 non-hardware Internal file system error
    
 could not find HMenu's parent in MenuKey (wrong error code - obsolete)
    
 user debugger break
    
 user debugger break; display string on stack
    

 Bad shared library
    

* make some sensible export tags

This source is in Github:

        https://github.com/briandfoy/Mac-Errors

brian d foy, "<bdfoy@cpan.org>"

Copyright © 2002-2018, brian d foy <bdfoy@cpan.org>. All rights reserved.

This program is free software; you can redistribute it and/or modify it under the terms of the Artistic License 2.0.

2018-06-20 perl v5.34.0