Error Codes
===========


================================================================================
Common Positive Error Codes (0-32767)
================================================================================

These IDs overlap with the less common errors listed in the next section.

ID=0 General System Errors (VBL Mgr, Queue)
-------------------------------------------
 0    noErr           0 for success “OR”
 0    smNotTruncated  No truncation necessary

ID=1 (dsBusError) Bus Error
----------------------------
A commonly encountered error, usually indicating that the computer has tried to
use a memory address outside of the permitted range. On a Mac Plus or SE this
can indicate a hardware problem.

ID=2 (dsAddressErr) Address Error
----------------------------------
A frequent error, indicating a 680x0 processor has tried to read 16-bit or
32-bit data, commonly known as a word or long word respectively, at an ‘even’
memory address.

ID=3 (dsIllInstErr) Illegal Instruction
----------------------------------------
Indicates that the computer has tried to execute an instruction that isn’t in
its vocabulary.

ID=4 (dsZeroDivErrZero) Divide Error
-------------------------------------
Occurs when the processor attempts to divide a numerical value by zero, usually
as a result of faulty programming.

ID=5 (dsChkErr) Range Check Error
----------------------------------
Indicates that the 680x0 processor has found a value outside of the range
specified by the programmer of an application.

ID=6 (dsOvflowErr) Overflow Error
----------------------------------
Occurs when a number exceeds the space allotted for it inside the computer.

ID=7 (dsPrivErr) Privilege Violation
-------------------------------------
Indicates that the 680x0 processor, which usually runs in ‘Supervisor mode’, is
in ‘User mode’ and has received an unacceptable instruction for this condition.

ID=8 (dsTraceErr) Trace Mode Error
-----------------------------------
Can indicate that a 680x0 processor has been accidentally switched into ‘Trace
mode’ (as used by programmers for debugging program instructions one at a time)
and that a suitable runtime debugger software isn’t installed.

ID=9 (dsLineAErr) Line 1010 Trap Error
---------------------------------------
Indicates that a routine contained in the Mac’s ROM (rather than in the 680x0
processor) can’t be found.

ID=10 (dsLineFErr) Line 1111 Trap Error
---------------------------------------
Indicates that a routine contained in the Mac’s ROM (rather than in the 680x0
processor) can’t be found.

ID=11 (dsMiscErr) Miscellaneous Hardware Exception Error
--------------------------------------------------------
Occurs on a PowerPC-based machine with various errors.

ID=12 (dsCoreErr) Unimplemented Core Routine
--------------------------------------------
Indicates that an application has reached a breakpoint (as installed by a
programmer to check the operation of a program) but that the required debugger
software isn’t available.

ID=13 (dsIrqErr) Uninstalled Interrupt
--------------------------------------
Indicates that an interrupt has been generated by a device such as a keyboard
or disk drive but there isn’t any suitable routine in memory to handle it.

ID=14 (dsIOCoreErr) IO Core Error
---------------------------------
An input or output error.

ID=15 (dsLoadErr) Segment Loader Error
--------------------------------------
This occurs when the Mac’s segment loader fails to load a segment of an
application into memory. Not all programs contain more than one segment.

ID=17 through ID=24: Missing Packages 0-7
----------------------------------------
Indicates that a package, such as International Utilities, Binary-Decimal
Conversion, Standard File Utilities, or Disk Initialisation, as contained in
the System file, is faulty. Codes 15, 16, 26, 27, 30, or 31 can also indicate
problems with the System file, which should then be replaced. Details are:-

  ID    Code                  Meaning
  ------------------------------------------------------------------------------
  17    dsNoPackErr           Package 0 not present [List Manager]
  18    dsNoPk1               Package 1 not present [Reserved by Apple]
  19    dsNoPk2               Package 2 not present [Disk Initialization]
  20    dsNoPk3               Package 3 not present [Standard File]
  21    dsNoPk4               Package 4 not present [Floating-Point Arithmetic]
  22    dsNoPk5               Package 5 not present [Transcendental Functions]
  23    dsNoPk6               Package 6 not present [International Utilities]
  24    dsNoPk7               Package 7 not present [Binary/Decimal

ID=25 (dsMemFullErr) Memory Full Error
--------------------------------------
This happens when you run out of RAM, although it can also be caused by other
errors of a different kind.

ID=26 (dsBadLaunch) Bad Program Launch
--------------------------------------
Indicates that the Mac couldn’t open an application file.

ID=27 (dsFSErr) File System Error
---------------------------------
Indicates that the file system map has been trashed

ID=28 (dsStknHeap) Stack Ran into Heap
--------------------------------------
Indicates that the two memory stacks in the Mac have collided, sometimes due to
a shortage of RAM or a software problem.

Various Errors ≥ 30 (not used by all Systems)
---------------------------------------------
30      dsReinsert            Asks user to reinsert an off-line volume
31      dsNotThe1             The wrong disk has been inserted (obsolete)
33      negZcbFreeErr         ZcbFree has gone negative
40      dsGreeting            Welcome to Macintosh greeting
41      dsFinderErr           Can’t load the Finder
42      shutDownAlert         Error handled as a shutdown error (obsolete)
43      dsSystemFileErr       Can’t find a System file to open (obsolete)
51      dsBadSlotInt          Unserviceable slot interrupt
81      dsBadSANEopcode       SANE Pack4 has bad opcode
84      menuPrgErr            A menu has been purged
85      dsMBarNFnd            System error: can’t find MBDF for menu bar
86      dsHMenuFindErr        System error: recursively defined HMenus
87      dsWDEFnFnd            Can’t find WDEF resource
88      dsCDEFnFnd            Can’t find CDEF resource
89      dsMDEFnFnd            Can’t find MDEF resource
98      dsNoPatch             Can’t patch for a particular model of Mac
99      dsBadPatch            Can’t load a patch resource
101     dsParityErr           Memory parity error
102     dsOldSystem           System is too old for the machine’s ROM
103     ds32BitMode           32-bit booting attempted on a 24-bit system
20000   dsShutDownOrRestart   User given choice between Shut Down and Restart
20001   dsSwitchOffOrRestart  User given choice of switching off or Restart
20002   dsForcedQuit          Allows user to ExitToShell, return if Cancel
32767   dsSysErr              General system error (catch-all used in DSAT)


================================================================================
Less Common Positive Error Codes (0-32767)
================================================================================

The following codes overlap with those listed above:-

Internal File System Errors
----------------------------
1     chNoBuf               No free cache buffers: all are in use
2     chInUse               Requested block is in use
3     chnotfound            Requested block not found
4     chNotInUse            Block being released was not in use
16    fxRangeErr            File position beyond mapped range
17    fxOvFlErr             Extents file overflow
32    btnotfound            Record not found
33    btexists              Record already exists
34    btnospace             No available space
35    btnoFit               Record doesn’t fit in node
36    btbadNode             Bad node detected
37    btbadHdr              Bad BTree header record detected
48    cmnotfound            CNode not found
49    cmexists              CNode already exists
50    cmnotempty            Directory CNode not empty (valence = 0)
51    cmRootCN              Invalid reference to root CNode
52    cmbadnews             Detected bad catalog structure
53    cmFThdDirErr          Thread belongs to a directory not a file
54    cmFThdGone            File thread doesn’t exist
64    dsBadRotate           Bad BTree rotate

Slot Declaration ROM Manager Errors
-----------------------------------
1     siInitSDTblErr        Slot int dispatch table can’t be initialized.
2     siInitVBLQsErr        VBLqueues for all slots can’t be initialized.
3     siInitSPTblErr        Slot priority table can’t be initialized.
10    sdmJTInitErr          SDM Jump Table can’t be initialized.
11    sdmInitErr            SDM can’t be initialized.
12    sdmSRTInitErr         Slot Resource Table can’t be initialized.
13    sdmPRAMInitErr        Slot PRAM can’t be initialized.
14    sdmPriInitErr         Cards can’t be initialized.

HD20 Driver Errors
------------------
16    wrtHsLw               HSHK low before starting
17    wrtHSLwTO             Timed out waiting for HSHK to go low
19    wrtHSHighTO           Timed out waiting for HSHK to go high
32    rdHsHi                HSHK high before starting
33    rdSyncTO              Timed out waiting for sync ($AA) bye
34    rdGroupTO             Timed out waiting for group
36    rdHoffSyncTO          Timed out waiting for sync after holdoff
37    rdHsHiTO              Timed out waiting for HSHK high
38    rdChksumErr           Checksum error on response packet
48    invalidResp           First byte in response packet was wrong
49    sqncNumErr            Sequence number in response packet was wrong
50    dNumberErr            Drive number in response packet was wrong
64    noResp                No response packet ever received

SCSI Manager Errors
-------------------
2     scCommErr             Communications error (operations timed out)
3     scArbNBErr            Arbitration failed during SCSIGet (bus busy)
4     scBadparmsErr         Bad parameter or TIB opcode
5     scPhaseErr            SCSI bus not in correct phase for operation
6     scCompareErr          SCSI Manager busy when SCSIGet was called
7     scMgrBusyErr          SCSI Manager busy when SCSIGet was called
8     scSequenceErr         Wrong sequence, as in SCSISelect before SCSIGet
9     scBusTOErr            Bus timed out before data ready on SCSIRBlind and
                              SCSIWBlind
10    scComplPhaseErr       SCSIComplete failed (bus not in Status phase)

Serial Driver Error Mask
------------------------
1     swOverrunErr          Serial Driver overrun error
16    parityErr             Serial parity error
32    hwOverrunErr          Serial hardware overrun
64    framingErr            Serial framing error

Miscellaneous Result Codes
--------------------------
1     evtNotEnb             Event not enabled at PostEvent

CDev Errors
-----------
0     cdevMemErr            Memory shortfall (alerts the user)
1     cdevResErr            Can’t get a needed resource (alerts the user)
3     cdevUnset             cdevValue is initialized

Script Manager Errors
---------------------
0     smNotTruncated        No truncation was necessary
1     smTruncated           Truncation performed

Communications Errors
---------------------

0     ctbuNoErr             Communications Toolbox
0     crmNoErr              Communications Resource Manager

Connection Manager Errors
-------------------------
0     cmNoErr
1     cmRejected
2     cmFailed
3     cmTimeOut
4     cmNotOpen
5     cmNotClosed
6     cmNoRequestPending
7     cmNotSupported
8     cmNoTools
9     cmUserCancel
11    cmUnknownError

File Transfer Manager Errors
----------------------------
0     ftNoErr
1     ftRejected
2     ftFailed
3     ftTimeOut
4     ftTooManyRetry
5     ftNotEnoughDSpace
6     ftRemoteCancel
7     ftWrongFormat
8     ftNoTools
9     ftUserCancel
10    ftNotSupported
11    ftUnknownError

Midi Manager MIDIPacket Errors
------------------------------
1     midiOverflowErr
2     midiSCCErr
3     midiPacketErr
255   midiMaxErr      (all command words less than this are errors)

Terminal Manager Errors
-----------------------
0     tmNoErr
1     tmNotSent
2     tmEnvironsChanged
7     tmNotSupported
8     tmNoTools
11    tmUnknownError


================================================================================
Negative Error Codes  (-1 to -261)
================================================================================

General System Errors (VBL Mgr, Queue)
--------------------------------------
-1    qErr              Queue element not found during deletion “OR”
-1    smTruncErr        Truncation indicator alone is wider than specified width
-2    vTypErr           Invalid queue element
-3    corErr            Core routine number out of range
-4    unimpErr          Unimplemented core routine
-5    SlpTypeErr        Invalid queue element
-8    seNoDB            No debugger installed to handle debugger command

Less Common -1 Errors
---------------------
-1    cdevGenErr        General Cdev error (gray cdev without alert)
-1    smTruncErr        General Script Manager error
-1    ctbuGenericError  Communications Toolbox Error
-1    crmGenericError   Communications Resource Manager Error
-1    cmGenericError    Communications Manager
-1    ftGenericError    File Transfer Manager
-1    tmGenericError    Terminal Manager

Less Common AppleTalk Errors
----------------------------
-1    overrunErr       (returned by ReadPacket & ReadRest routines)
-2    crcErr
-3    underrunErr
-4    lengthErr

Color Manager Errors
--------------------
 -9   iTabPurgErr     From Color2Index/ITabMatch
-10   noColMatch      From Color2Index/ITabMatch
-11   qAllocErr       From MakeITable
-12   tblAllocErr     From MakeITable
-13   overRun         From MakeITable
-14   noRoomErr       From MakeITable
-15   seOutOfRange    From SetEntry
-16   seProtErr       From SetEntry
-17   i2CRangeErr     From SetEntry
-18   gdBadDev        From SetEntry
-19   reRangeErr      From SetEntry
-20   seInvRequest    From SetEntry
-21   seNoMemErr      From SetEntry

Less Common System Errors (giving a message dialog)
---------------------------------------------------
-10   dsMacsBugInstalled        “MacsBug Installed” dialog
-11   dsDisassemblerInstalled   “Disassembler Installed” dialog
-12   dsHD20Installed           “HD20 Startup” dialog

I/O System Errors
-----------------
-17   controlErr        Driver can’t respond to Control call
-18   statusErr         Driver can’t respond to Status call
-19   readErr           Driver can’t respond to Read call
-20   writErr           Driver can’t respond to Write call
-21   badUnitErr        Driver ref num doesn’t match unit table
-22   unitEmptyErr      Driver ref num specifies NIL handle in unit table
-23   openErr           Requested read/write permission doesn’t match driver’s
                        open permission, or opening RAM serial Driver failed
-24   closErr           Close failed; Permission to close .MPP driver was denied
-25   dRemovErr         Tried to remove an open driver
-26   dInstErr          DrvrInstall couldn’t find driver in resources
-27   abortErr          IO call aborted by KillIO; Publisher has written a new
                        edition “OR”
-27   iIOAbortErr       IO abort error (Printing Manager)
-28   notOpenErr        Couldn’t rd/wr/ctl/sts cause driver not opened
-29   unitTblFullErr    Unit table has no more entries
-30   dceExtErr         dce extension error

File System Errors
------------------
-33   dirFulErr       Directory full
-34   dskFulErr       Disk full
-35   nsvErr          No such volume; volume not found
-36   ioErr           I/O error
-37   bdNamErr        Bad file name; there may be no bad names in the final
                      system!
-38   fnOpnErr        File not open
-39   eofErr          End of file; no additional data in the format
-40   posErr          Tried to position to before start of file (r/w)
-41   mFulErr         Memory full (open) or file won’t fit (load)
-42   tmfoErr         Too many files open
-43   fnfErr          File not found; Folder not found; Edition container not
                      found; Target not found
-44   wPrErr          Disk write-protected; Volume is locked through hardware
-45   fLckdErr        File is locked
-45   fLckedErr       Publisher writing to an edition
-46   vLckdErr        Volume is locked through software
-47   fBsyErr         File is busy (delete); Section doing I/O
-48   dupFNErr        Duplicate filename (rename); File found instead of folder
-49   opWrErr         File already open with write permission
-50   paramErr        Error in user parameter list
-51   rfNumErr        Reference number invalid
-52   gfpErr          Get file position error
-53   volOffLinErr    Volume is off line
-54   permErr         Software lock on file; Not a subscriber [permissions
                      error on file open]
-55   volOnLinErr     Drive volume already on-line at MountVol
-56   nsDrvErr        No such drive (tried to mount a bad drive num)
-57   noMacDskErr     Not a Macintosh disk (sig bytes are wrong)
-58   extFSErr        External file system; file system identifier is nonzero
-59   fsRnErr         File system internal error: during rename the old entry
                      was deleted but couldn’t be restored.
-60   badMDBErr       Bad master directory block
-61   wrPermErr       Write permissions error; Not a publisher

Font Manager Errors
-------------------
-64   fontDecError       Error during font declaration
-65   fontNotDeclared    Font not declared
-66   fontSubErr         Font substitution occurred

Disk, Serial Ports, Clock Specific Errors
-----------------------------------------
-64   lastDskErr
-64   noDriveErr      Drive not installed
-65   offLinErr       Read/write requested for an off-line drive
-66   noNybErr        Couldn’t find 5 nibbles in 200 tries
-67   noAdrMkErr      Couldn’t find valid addr mark
-68   dataVerErr      Read verify compare failed
-69   badCksmErr      Address mark checksum didn’t check
-70   badBtSlpErr     Bad addr mark bit slip nibbles
-71   noDtaMkErr      Couldn’t find a data mark header
-72   badDCksum       Bad data mark checksum
-73   badDBtSlp       Bad data mark bit slip nibbles
-74   wrUnderrun      Write underrun occurred
-75   cantStepErr     Step handshake failed
-76   tk0BadErr       Track 0 detect doesn’t change
-77   initIWMErr      Unable to initialise IWM
-78   twoSideErr      Tried to read 2nd side on a 1-sided drive
-79   spdAdjErr       Unable to correctly adjust disk speed
-80   seekErr         Track number wrong on address mark
-81   sectNFErr       Sector number never found on a track
-82   fmt1Err         Can’t find sector 0 after track format
-83   fmt2Err         Can’t get enough sync
-84   verErr          Track failed to verify
-84   firstDskErr
-85   clkRdErr        Unable to read same clock value twice
-86   clkWrErr        Time written did not verify
-87   prWrErr         Parameter RAM written didn’t read-verify
-88   prInitErr       InitUtil found the parameter RAM not initialised
-89   rcvrErr         SCC receiver error (framing, parity, OR)
-90   breakRecd       Break received (SCC)

AppleTalk Errors
----------------
-91   ddpSktErr       Error opening socket “OR”
-91   eMultiErr       Invalid address or table is full
-92   ddpLenErr       Data length too big “OR”
-92   eLenErr         Packet too large or first entry of the write-data
                      structure didn’t contain the full 14-byte header
-93   noBridgeErr     No router available [for non-local send]
-94   lapProtErr      Error in attaching/detaching protocol “OR”
-94   LAPProtErr      Protocol handler is already attached, node’s protocol
                      table is full, protocol not attached, or protocol
                      handler pointer was not 0
-95   excessCollsns   Hardware error [excessive collisions on write]
-97   portInUse       Driver Open error code (port is in use)
-98   portNotCf       Driver Open error code (parameter RAM not configured
                      for this connection)
-99   memROZErr       Hard error in ROZ
-99   memROZError     Hard error in ROZ
-99   memROZWarn      Soft error in ROZ

Scrap Manager Errors
--------------------
-100  noScrapErr      No scrap exists error
-102  noTypeErr       Format not available [no object of that type in scrap]

Storage Allocator Errors
-------------------------
-108  memFullErr      Ran out of memory [not enough room in heap zone]
-109  nilHandleErr    GetHandleSize fails on baseText or substitutionText;
                      NIL master pointer [handle was NIL in HandleZone or other]
-110  memAdrErr       Address was odd, or out of range
-111  memWZErr        Attempted to operate on a free block; GetHandleSize fails
                      on baseText or substitutionText [WhichZone failed (applied
                      to free block)]
-112  memPurErr       Trying to purge a locked or non-purgeable block
-113  memAZErr        Address in zone check failed
-114  memPCErr        Pointer Check failed
-115  memBCErr        Block Check failed
-116  memSCErr        Size Check failed
-117  memLockedErr    Trying to move a locked block (MoveHHi)

HFS Errors
----------
-120  dirNFErr        Directory not found
-121  tmwdoErr        No free WDCB available
-122  badMovErr       Move into offspring error
-123  wrgVolTypErr    Not an HFS volume [wrong  volume type error or
                      (obsolete) operation  not supported for MFS]
-124  volGoneErr      Server volume has been  disconnected.
-125  updPixMemErr    Insufficient memory to update a pixmap
-127  fsDSIntErr      Internal file system error

Menu Manager Errors
-------------------
-126  dsMBarNFnd         System error code for  MBDF not found
-127  dsHMenuFindErr     Couldn’t find HMenu’s parent in MenuKey
-128  userCanceledErr    User cancelled an operation

HFS File ID Errors
-----------------
-130  fidNotFound        No file thread exists
-131  fidNotAFile        Directory specified instead of a file
-132  fidExists          File ID already exists

Color QuickDraw and Color Manager Errors
----------------------------------------
-147  regionTooBigError  Region too big or complex
-148  pixMapTooBigErr    Pixel map record is deeper than 1 bit per pixel
                         [passed pixel map is too large]
-149  notEnoughStack     Not enough stack space for the necessary buffers “OR”
-149  mfStackErr         Insufficient stack
-150  cMatchErr          Color2Index failed to find an index
-151  cTempMemErr        Failed to allocate memory for temporary structures
-152  cNoMemErr          Failed to allocate memory for structure
-153  cRangeErr          Range error on colorTable request
-154  cProtectErr        ColorTable entry protection violation
-155  cDevErr            Invalid type of graphics device
-156  cResErr            Invalid resolution for MakeITable
-157  cDepthErr          Invalid pixel depth
-158  cParmErr           Invalid parameter

Resource Manager Errors (other than I/O)
----------------------------------------
-185  badExtResource     Extended resource has a bad format.
-186  CantDecompress     Resource bent (“the bends”) can’t decompress a
                         compressed resource
-188  resourceInMemory   Resource already in memory
-189  writingPastEnd     Writing past end of file
-190  inputOutOfBounds   Offset or count out of bounds
-192  resNotFound        Resource not found
-193  resFNotFound       Resource file not found
-194  addResFailed       AddResource failed
-195  addRefFailed       AddReference failed
-196  rmvResFailed       RmveResource failed
-197  rmvRefFailed       RmveReference failed
-198  resAttrErr         Attribute inconsistent with operation
-199  mapReadErr         Map inconsistent with operation

Sound Manager Errors
--------------------
-200  noHardware              Required sound hardware not available [no
                              hardware support for specified synthesiser]
-201  notEnoughHardware       Insufficient hardware available [no more channels
                              for the specified synthesiser]
-203  queueFull               No room in the queue
-204  resProblem              Problem loading the resource
-205  badChannel              Channel is corrupt or  unusable [invalid channel
                              queue length]
-206  badFormat               Resource is corrupt or unusable [handle to ‘snd ‘
                              resource was invalid]
-207  notEnoughBufferSpace    Insufficient memory available
-208  badFileFormat           File is corrupt or unusable, or not AIFF/AIFF-C
-209  channel                 Channel is busy
-210  buffersTooSmall         Buffer is too small
-211  channelNotBusy          Channel not currently used
-212  noMoreRealTime          Not enough CPU time available
-213  badParam                A parameter is incorrect
-220  siNoSoundInHardware     No sound input hardware available
-221  siBadSoundInDevice      Invalid sound input device
-222  siNoBufferSpecified     No buffer specified
-223  siInvalidCompression    Invalid compression type
-224  siHardDiskTooSlow       Hard drive too slow to record
-225  siInvalidSampleRate     Invalid sample rate
-226  siInvalidSampleSize     Invalid sample size
-227  siDeviceBusyErr         Sound input device is busy
-228  siBadDeviceName         Invalid device name
-229  siBadRefNum             Invalid reference number
-230  siInputDeviceErr        Input device hardware failure
-231  siUnknownInfoType       Unknown type of information
-232  siUnknownQuality        Unknown quality

MIDI Manager Errors
-------------------
-250  midiNoClientErr         No client with that ID found
-251  midiNoPortErr           No port with that ID found
-252  midiTooManyPortsErr     Too many ports already installed in the system
-253  midiTooManyConsErr      Too many connections made
-254  midiVConnectErr         Pending virtual connection created
-255  midiVConnectMade        Pending virtual connection resolved
-256  midiVConnectRmvd        Pending virtual connection removed
-257  midiNoConErr            No connection exists between specified ports
-258  midiWriteErr            Couldn’t write to all connected ports
-259  midiNameLenErr          Name supplied is longer than 31 characters
-260  midiDupIDErr            Duplicate client ID
-261  midiInvalidCmdErr       Command not supported for port type


================================================================================
Negative Error Codes  (-299 to -32768)
================================================================================

Notification Manager Error
--------------------------
-299 nmTypErr Invalid qType- must be ORD(nmType)

Start Manager Errors
--------------------
-290 smSDMInitErr         SDM couldn’t be initialised
-291 smSRTInitErr         Slot Resource Table couldn’t be initialised
-292 smPRAMInitErr        Slot Resource Table couldn’t be initialised
-293 smPriInitErr         Cards couldn’t be initialised
-300 smEmptySlot          No card in slot
-301 smCRCFail            CRC check failed for declaration data
-302 smFormatErr          FHeader Format is not Apple’s
-303 smRevisionErr        Wrong revision level
-304 smNoDir              Directory offset is Nil
-305 smLWTstBad           Long Word test field  $5A932BC7
-306 smNosInfoArray       No sInfoArray; Memory Mgr error
-307 smResrvErr           Fatal reserved error; Reserved field 0
-308 smUnExBusErr         Unexpected Bus Error
-309 smBLFieldBad         ByteLanes field was bad
-310 smFHBlockRdErr       Error occurred during _sGetFHeader
-311 smFHBlkDispErr       Error occurred during _sDisposePtr (Dispose ofFHeader
                          block)
-312 smDisposePErr        _DisposePointer error
-313 smNoBoardsRsrc       No Board sResource
-314 smGetPRErr           Error occurred during _sGetPRAMRec (See SIMStatus)
-315 smNoBoardId          No BoardId
-316 smIntStatVErr        The InitStatusV field was negative after primary or
                          secondary init
-317 smIntTblVErr         Error occurred while trying to initialise Slot
                          Resource Table
-318 smNoJmpTbl           SDM jump table couldn’t be created
-319 smBadBoardId         BoardId was wrong, re-init the PRAM record
-320 smBusErrTO           BusError time out
-330 smBadRefId           Reference Id not found in list
-331 smBadsList           Bad sResource [sList] structure:Id1
-332 smReservedErr        Reserved field not zero
-333 smCodeRevErr         Code revision is wrong
-334 smCPUErr             Code revision is wrong
-335 smsPointerNil        LPointer is nil {From sOffsetData. Check sInfo rec for
                          more information.}
-336 smNilsBlockErr       Nil sBlock error {Don’t allocate and try to use a nil
                          sBlock}
-337 smSlotOOBErr         Slot out of bounds error
-338 smSelOOBErr          Selector out of bounds error; function not implemented
-339 smNewPErr            _NewPtr error
-340 smBlkMoveErr         _BlockMove error
-341 smCkStatusErr        Status of slot = fail.
-342 smGetDrvrNamErr      Error occurred during _sGetDrvrName.
-343 smDisDrvrNamErr      Error occurred during _sDisDrvrName.
-344 smNoMoresRsrcs       No more sResources *OR*
-344 smNoMoresResources   Specified sResource data structure not found
-345 smsGetDrvrErr        Error occurred during _sGetDriver.
-346 smBadsPtrErr         Bad pointer was passed to sCaldSPointer function
-347 smByteLanesErr       ByteLanes field in card’s format block was determined
                          to be zero
-348 smOffsetErr          Offset was too big (temporary,should be fixed)
-349 smNoGoodOpens        No opens were successful in the loop.
-350 smSRTOvrFlErr        SRT overflow.
-351 smRecNotFnd          Record not found in the SRT. Device Manager Slot
                          Support Errors
-360 slotNumErr           Invalid slot # error
-400 gcrOnMFMErr          GCR format on high density media error

Edition Manager Errors
----------------------
-450 editionMgrInitErr          Manager not initialised or couldn’t load
                                package
-451 badSectionErr              Not a valid section type
-452 notRegisteredSectionErr    Not registered
-454 badSubPartErr              Bad edition container spec or invalid edition
                                container
-460 multiplePublisherWrn       Already is a publisher
-461 containerNotFoundWrn       Alias was not resolved
-463 notThePublisherWrn         Not the publisher SCSI Manager Errors
-470 scsiBadPBErr               Invalid field(s) in the parameter block
-471 scsiOverrunErr             Attempted to transfer too many bytes
-472 scsiTransferErr            Write flag conflicts with data transfer phase
-473 scsiBusTOErr               Bus error during transfer
-474 scsiSelectTOErr            scsiSelTO exceeded (selection failed)
-475 scsiTimeOutErr             scsiReqTO exceeded
-476 scsiBusResetErr            The bus was reset, so your request was aborted
-477 scsiBadStatus              Non-zero (not “Good”) status returned
-478 scsiNoStatusErr            Device did not go through a status phase
-479 scsiLinkFailErr            Linked command never executed
-489 scsiUnimpVctErr            Unimplemented routine was called SysErrs used
                                instead of inline $A9FF & $ABFF
-490 userBreak                  User debugger break
-491 strUserBreak               User debugger break - display string on stack
-492 exUserBreak                User debugger break - execute commands on stack

QuickDraw Error
---------------
-500 rgnTooBigErr     Bitmap would convert into a region greater than 64 KB

Text Edit Error
---------------
-501 teScrapSizeErr   Scrap item too big for text edit record

O/S Error
---------
-502 hwParamrErr      Bad selector for _HWPriv

Processes Errors
----------------
-600 procNotFound               No eligible process with specified process
                                serial number
-601 memFragErr                 Not enough room to launch application with
                                special requirements
-602 appModeErr                 Memory mode is 32-bit, but application not
                                32-bit clean
-603 protocolErr                App made module calls in improper order
-604 hardwareConfigErr          Hardware configuration not correct for call
-605 appMemFullErr              Partition size specified in ‘SIZE’ resource
                                is not big enough for launch
-606 appIsDaemon                Application is background-only
-607 bufferIsSmall              Buffer is too small
-608 noOutstandingHLE           No outstanding high-level event
-609 connectionInvalid          Connection is invalid
-610 noUserInteractionAllowed   Attempted PostHighLevelEvent from background and
                                no session yet established

Memory Dispatch Errors
----------------------
-620 notEnoughMemoryErr         Insufficient physical memory
-621 notHeldErr                 Specified range of memory is not held
-622 cannotMakeContiguousErr    Cannot make specified range contiguous
-623 notLockedErr               Specified range of memory is not locked
-624 interruptsMaskedErr        Called with interrupts masked
-625 cannotDeferErr             Unable to defer additional user functions

DatabaseAccess (Pack 13) Errors
-------------------------------
-800 rcDBNull                   The data item was NULL
-801 rcDBValue                  Data available or successfully retrieved
-802 rcDBError                  Error executing function
-803 rcDBBadType                Next data item not of requested data type
-804 rcDBBreak                  Function timed out
-805 rcDBExec                   Query currently executing
-806 reDBBadSessID              Session ID is invalid
-807 rcDBBadSessNum             Invalid session number
-808 rcDBBadDDEV                Couldn’t find the specified database
                                extension,or error in opening database extension
-809 rcDBAsyncNotSupp           The database extension doesn’t support
                                asynchronous calls
-810 rcDBBadAsyncPB             Invalid parameter block specified
-811 rcDBNoHandler              There is no handler for this data type installed
                                for the current application
-812 rcDBWrongVersion           Wrong version number
-813 rcDBPackNotInited          InitDBPack function has not yet been called

Help Manager Errors
-------------------
-850 hmHelpDisabled             Help balloons are not enabled
-851 hmResNotFound
-852 hmMemFullErr
-853 hmBalloonAborted           Because of constant cursor movement,the help
                                balloon wasn’t displayed
-854 hmSameAsLastBalloon        Menu and item same as previous menu and item
-855 hmHelpManagerNotInited     Help menu not set up
-856 hmBadSelector
-857 hmSkippedBalloon           No ballon content to fill in
-858 hmWrongVersion             Wrong version of Help Manager resource
-859 hmUnknownHelpType          Help message record contained a bad type
-860 hmCouldNotLoadPackage
-861 hmOperationUnsupported     Bad method parameter
-862 hmNoBalloonUp              No balloon showing
-863 hmCloseViewActive          User using CloseView won’t let you remove
                                balloon

AppleTalk - PPC Toolbox Errors
------------------------------
-900 notInitErr                 PPC Toolbox has not been initialised yet
-902 nameTypeErr                Invalid or inappropriate locationKindSelector in
                                location name
-903 noPortErr                  Invalid port name; Unable to open port or bad
                                port reference number
-904 noGlobalsErr               System unable to allocate memory, critical error
-905 localOnlyErr               Network activity is currently disabled
-906 destPortErr                Port does not exist at destination
-907 sessTableErr               PPC Toolbox is unable to create a session
-908 noSessionErr               Invalid session reference number
-909 badReqErr                  Bad parameter or invalid state for this
                                operation
-910 portNameExistsErr          Another port is already open with this name
-911 noUserNameErr              User name unknown on destination machine
-912 userRejectErr              Destination rejected the session request
-915 noResponseErr              Unable to contact application
-916 portClosedErr              The port was closed
-917 sessClosedErr              The session has closed
-919 badPortNameErr             PPC port record is invalid
-922 noDefaultUserErr           Owner name not specified in Sharing Setup panel
-923 notLoggedInErr             Default user reference number doesn’t yet exist
-924 noUserRefErr               Unable to create new user reference number
-925 networkErr                 An error has occurred in the network
-926 noInformErr                PPCStart failed because target application did
                                not have an inform pending
-927 authFailErr                User’s password is wrong
-928 noUserRecErr               Invalid user reference number
-930 badServiceMethodErr        Service method is other than ppcServiceRealTime
-931 badLocNameErr              Location name is invalid
-932 guestNotAllowedErr         Destination port requires authentication

AppleTalk - NBP Errors
----------------------
-1024 nbpBuffOvr          Buffer overflow in LookupName
-1025 nbpNoConfirm        Name not confirmed on ConfirmName
-1026 nbpConfDiff         Name confirmed at different socket
-1027 nbpDuplicate        Duplicate name exists already
-1028 nbpNotFound         Name not found on remove
-1029 nbpNISErr           Error trying to open the NIS

ASP Errors (XPP driver)
-----------------------
-1066 aspBadVersNum       Server cannot support this ASP version
-1067 aspBufTooSmall      Buffer too small
-1068 aspNoMoreSess       No more sessions on server
-1069 aspNoServers        No servers at that address
-1070 aspParamErr         Parameter error
-1071 aspServerBusy       Server cannot open another session
-1072 aspSessClosed       Session closed
-1073 aspSizeErr          Command block too big
-1074 aspTooMany          Too many clients (server error)
-1075 aspNoAck            No ack on attention request (server err)

AppleTalk - ATP Errors
----------------------
-1096 reqFailed           Request to contact router failed: retry count exceeded
-1097 tooManyReqs         Too many concurrent requests
-1098 tooManySkts         Too many concurrent responding-sockets
-1099 badATPSkt           Bad ATP-responding socket
-1100 badBuffNum          Bad response buffer number specified
-1101 noRelErr            No release received
-1102 cbNotFound          Control Block not found; no pending asynchronous calls
-1103 noSendResp          AddResponse issued without SendResponse
-1104 noDataArea          No data area for request to MPP
-1105 reqAborted          ERdCancel function called for this ERead [SendRequest
                          aborted by RelTCB]

Data Stream Protocol - DSP driver Errors
----------------------------------------
-1273 errOpenDenied       Open request denied by recipient
-1274 errDSPQueueSize     Send or receive queue is too small
-1275 errFwdReset         Read terminated by forward reset
-1276 errAttention        Attention message too long
-1277 errOpening          Attempt to open connection failed
-1278 errState            Bad connection state for this operation
-1279 errAborted          Request aborted by dspRemove or dspClose function
-1280 errRefNum           Bad connection reference number

HFS Errors
----------
-1300 fidNotFound         File ID not found [No file thread exists]
-1301 fidExists           File ID already exists
-1302 notAFileErr         Specified file is a directory
-1303 diffVolErr          Files on different volumes
-1304 catChangedErr       Catalog has changed and CatPosition may be invalid
-1305 desktopDamagedErr   The desktop database has become corrupted - the
                          Finder will fix this, but if your application is not
                          running with the Finder, use DTReset or DTDelete

AppleEvent Errors
-----------------
-1700 errAECoercionFail         Data couldn’t be coerced to the requested
                                descriptor type
-1701 errAEDescNotFound         Descriptor record was not found
-1702 errAECorruptData          Data in an Apple event couldn’t be read
-1703 errAEWrongDataType        Wrong descriptor type
-1704 errAENotAEDesc            Not a valid descriptor record
-1705 errAEBadListItem          Operation involving a list item failed
-1706 errAENewerVersion         Needs newer version of Apple Event Manager
-1707 errAENotAppleEvent        Event is not an Apple event
-1708 errAEEventNotHandled      Event wasn’t handled by an Apple event handler
-1709 errAEReplyNotValid        AEResetTimer was passed an invalid reply
-1710 errAEUnknownSendMode      Invalid sending mode was passed
-1711 errAEWaitCanceled         User cancelled out of wait loop for receipt
                                of reply
-1712 errAETimeout              Apple event timed out
-1713 errAENoUserInteraction    No user interaction allowed
-1714 errAENotASpecialFunction  Wrong keyword for a special function
-1715 errAEParamMissed          Handler did not get all required parameters
-1716 errAEUnknownAddressType   Unknown Apple event address type
-1717 errAEHandlerNotFound      No handler found for an Apple event or a
                                coercion
-1718 errAEReplyNotArrived      Reply has not yet arrived
-1719 errAEIllegalIndex         Not a valid list index

AppleTalk - ATP Errors
----------------------
-3101 buf2SmallErr    Packet too large for buffer; partial data returned
-3102 noMPPErr        No MPP error
-3103 ckSumErr        Checksum error
-3104 extractErr      Extraction error
-3105 readQErr        Read queue error
-3106 atpLenErr       ATP length error
-3107 atpBadRsp       ATP bad response error
-3108 recNotFnd       Record not found
-3109 sktClosedErr    Socket closed error

Print Manager w/LaserWriter Errors
----------------------------------
-4096 ???             No free Connect Control Blocks available
-4097 ???             Bad connection reference number
-4098 ???             Request already active
-4099 ???             Write request too big
-4100 ???             Connection just closed
-4101 ???             Printer not found, or closed

File Manager Extensions Errors
------------------------------
-5000 accessDenied        Incorrect access for this file/folder
-5006 DenyConflict        Permission/Deny mode conflicts with the current mode
                          in which this fork is already open
-5015 NoMoreLocks         Byte range locking failure from Server
-5020 RangeNotLocked      Attempt to unlock an already unlocked range
-5021 RangeOverlap        Attempt to lock some of an already locked range

AFP Errors (XPP driver)
-----------------------
-5000 afpAccessDenied           AFP Access denied
-5001 afpAuthContinue           AFP Authorisation continue
-5002 afpBadUAM                 AFP Bad UAM
-5003 afpBadVersNum             AFP Bad version number
-5004 afpBitmapErr              AFP Bit map error
-5005 afpCantMove               AFP Can’t move error
-5006 afpDenyConflict           AFP Deny conflict
-5007 afpDirNotEmpty            AFP Dir not empty
-5008 afpDiskFull               AFP Disk full
-5009 afpEofError               AFP End-of-File error
-5010 afpFileBusy               AFP File busy
-5011 afpFlatVo                 AFP Flat volume
-5012 afpItemNotFound           AFP Information not found
-5013 afpLockErr                AFP Lock error
-5014 afpMiscErr                AFP Misc error
-5015 afpNoMoreLocks            AFP No more locks
-5016 afpNoServer               AFP No server
-5017 afpObjectExists           AFP Object already exists
-5018 afpObjectNotFound         AFP Object not found
-5019 afpParmErr                AFP Parameter error
-5020 afpRangeNotLocked         AFP Range not locked
-5021 afpRangeOverlap           AFP Range overlap
-5022 afpSessClosed             AFP Session closed
-5023 afpUserNotAuth            AFP User not authorised
-5024 afpCallNotSupported       AFP Call not supported
-5025 afpObjectTypeErr          AFP Object type error
-5026 afpTooManyFilesOpen       AFP Too many files open
-5027 afpServerGoingDown        AFP Server going down
-5028 afpCantRename             AFP Can’t rename
-5029 afpDirNotFound            AFP Directory not found
-5030 afpIconTypeError          Size of new icon and one it replaces don’t match
-5031 afpVolLocked              Volume is Read-Only
-5032 afpObjectLocked           Object is M/R/D/W inhibited

SysEnvirons Errors
------------------
-5500 envNotPresent             SysEnvirons trap not present - returned by glue.
-5501 envBadVers                Version non-positive
-5502 envVersTooBig             Version bigger than call can handle

Gestalt Errors
--------------
-5550 gestaltUnknownErr         Can’t obtain a response
-5551 gestaltUndefSelectorErr   Undefined selector
-5552 gestaltDupSelectorErr     Selector already exists
-5553 gestaltLocationErr        Function not in system heap

LaserWriter Driver Errors
-------------------------
-8132 ????                      Manual Feed time out
-8133 ????                      General PostScript Error
-8150 ????                      No LaserWriter chosen
-8151 ????                      Version mismatch between LaserPrep dictionaries
-8150 ????                      No LaserPrep dictionary installed
-8160 ????                      Zoom scale factor out of range

PictInfo Errors
---------------
-11000 pictInfoVersionErr       Version number not zero
-11001 pictInfoIDErr            Invalid PictInfo ID
-11002 pictInfoVerbErr          Invalid verb combination specified
-11003 cantLoadPickMethodErr    Custom pick method not in resource chain
-11004 colorsRequestedErr       Number out of range or > passed to NewPictInfo
-11005 pictureDataErr           Invalid picture data

Power Manager Errors
--------------------
-13000 pmBusyErr                Power Manager IC busy
-13001 pmReplyTOErr             Timed out waiting to begin reply handshake
-13002 pmSendStartErr           Power Manager IC didn’t start handshake
-13003 pmSendEndErr             During send, PM didn’t finish handshake
-13004 pmRecvStartErr           During receive, PM didn’t start handshake
-13005 pmRecvEndErr             During receive, PM didn’t finish handshake

Mac TCP Errors
--------------
-23000 ipBadLapErr              Bad network configuration
-23001 ipBadCnfgErr             Bad IP configuration error
-23002 ipNoCnfgErr              Missing IP or LAP configuration error
-23003 ipLoadErr                Error in MacTCP load
-23004 ipBadAddr                Error in getting address
-23005 connectionClosing        Connection in closing
-23006 invalidLength
-23007 connectionExists         Request conflicts with existing connection
-23008 connectionDoesntExist    Connection does not exist
-23009 insufficientResources    Insufficient resources to perform request
-23010 invalidStreamPtr
-23011 streamAlreadyOpen
-23012 connectionTerminated
-23013 invalidBufPtr
-23014 invalidRDS
-23014 invalidWDS
-23015 openFailed
-23016 commandTimeout
-23017 duplicateSocket
-23030 ipOpenProtErr            Can’t open new protocol, table full
-23031 ipCloseProtErr           Can’t find protocol to close
-23032 ipDontFragErr            Packet too large to send w/o fragmenting
-23033 ipDestDeadErr            Destination not responding
-23034 ipBadWDSErr              Error in WDS format
-23035 icmpEchoTimeoutErr       ICMP echo timed-out
-23036 ipNoFragMemErr           No memory to send fragmented pkt
-23037 ipRouteErr               Can’t route packet off-net
-23041 nameSyntaxErr
-23042 cacheFault
-23043 noResultProc
-23044 noNameServer
-23045 authNameErr
-23046 noAnsErr
-23047 dnrErr
-23048 outOfMemory

Primary or Secondary Init Code Errors
-------------------------------------
-32768 svTempDisable            Temporarily disable card but run primary init
-32640 svDisabled               Reserve -32640 to -32768 for Apple temp disables


================================================================================
More About Type 1 Errors
================================================================================


From: abrody@worldweb.net (Don’t Panic)
Subject: Type-1-FAQ-9-28-95.txt

Why does my ...
Application unexpectedly quit?
Finder report a Type 1, 2, 3, or 28 error?
Finder report an F-line error?
Finder report a BusError (Type 1)?

All four of these happen basically due to any of the following problems:
    Your desktop file is corrupted
    Your PRAM is corrupted
    An INIT conflict
    A fragmented hard drive
    Incompatibility with machine or system
    Lack of math co-processor (usually followed by a Finder error 90)
    Preference file corrupts
    Internet connection through TurboGopher, Fetch, Telnet, Mosaic, Eudora, or
    other TCP/IP client application quits with a type 1 error.

Solution:
To uncorrupt (or rebuild) your desktop file, after the About this Macintosh
screen disappears during startup, press the Apple and Option keys
simultaneously.
This results in the loss of file comments in the Get Info of the Finder.

To uncorrupt (or ZAP) your PRAM, hit the Command, Option, P, and R keys
simultaneously when your Mac starts up. The screen will blink, and when the
Mac is done loading, you will have to reset some control panels to the desired
settings. Also, if you don’t want AppleTalk on, zapping the PRAM turns
it on. To fix the AppleTalk problem, just enter the Chooser DA, and turn it off.

An INIT conflict. Extensions Manager 2.0.1 is free and available at many sites
on the Net and at Mac BBSs. It is made by Apple, and allows you to select
which INITs (Extensions in System 7) are loaded. Sometimes the conflicting
INIT can be loaded by itself without any problems. If you isolate the
conflicting INIT, try renaming it either the last or the first name in the
alphabet of INITs. Entering a space in the name puts it before the other INITs
that begin with a number or alphabet character. Control keys are even earlier.
Finally, all programs that do not require extensions loaded, will work fine
with all extensions off. To turn off all extensions, press the SHIFT key upon
startup.  Conflict Catcher 3.0 by Cassady & Green (commercial) will also
all this, but it has a much more sophisticated system for catching INIT
conflicts.

Two utilities are available commercially to fix fragmented hard drives: Speed
Disk (by Norton), and DiskExpress by Alsoft (I forget who bought Alsoft, but
somebody will probably reply to this FAQ mentioning who did). Turn off all
your extensions except the DiskExpress control panel (if using Alsoft’s
product), when you do a defragmentation.

For preference files that corrupt, Virex (commercial), the virus detection
program can detect the individual preference file that got corrupted.
There may be other software to detect corrupted preference files, but that
is the only one I am aware of.  Removing the preference file once isolated,
will fix the problem.

If none of these solutions appear to fix the problem, then you need to contact
the author and tell them what System you are running, the RAM installed on your
system, whether your machine has an FPU, and what machine you are using.
The system can be found by selecting About This Macintosh (or About Finder)
>From the Apple Menu when you are in the Finder.
The RAM installed is also in that window.  The author can tell you if the
software is compatible with your machine.

All LC machines lack FPUs (except those that have had them specifically
 installed).  Please note, all Blackbird 68040 Powerbooks lack FPUs, even
 if they are not advertised as such (the exception may come with the
 PowerMac upgrade due later this year).

In addition there are times when too much multi-tasking may cause a BusError.
This is due to the fact that some machines have pathways half the size of
the CPU leading to the CPU.  The 68020 is a 32-bit CPU, with 16-bit pathways.
Hence there is a logjam of information.  Similarly, the PowerPC 601 and 603
processors have a 64-bit processor with a 32-bit Bus.   Only True 68030,
68040 (Quadra AVs, some 63x, 700, 800, 900 series), and PowerPC 604s are
devoid of this problem along with the FPU problem. PowerPC chips have a
built in FPU, and SoftFPU for PowerMac (shareware) will make it so that
programs requiring the external FPU notice the one in the PowerPC.

Internet type 1 errors.  Your connection was improperly setup before you
attempted loading the TCP/IP client application.  Connect to a registered
Domain Nameserver before attempting to load any TCP/IP.  If you don’t know
how to do this, I’d be happy to help with any MacPPP style connection for
single user connections.

Above all, read the documentation that comes with the software. Most of the
time the author specifies what is required in the documentation.  If there
is no documentation use the software at your own risk.

Standard disclaimers apply.

Hope this helps.
Sincerely,
ABRODY@worldweb.net