Kaydet (Commit) ac4d8694 authored tarafından Jack Jansen's avatar Jack Jansen

Completely redone. mkestrres now parses errno.h and Errors.h files

(which have the descriptions of the errors in comments) and
generates errors.txt, macerrors.py and errors.rsrc
üst 6c3d35ae
1 dsBusError bus error -32768 svTempDisable Temporarily disable card but run primary init.
2 dsAddressErr address error -32640 svDisabled Reserve range -32640 to -32768 for Apple temp disables.
3 dsIllInstErr illegal instruction error -32615 fontNotOutlineErr bitmap font passed to routine that does outlines only
4 dsZeroDivErr zero divide error -20002 invalidIndexErr The recordIndex parameter is not valid.
5 dsChkErr check trap error -20001 recordDataTooBigErr The record data is bigger than buffer size (1024 bytes).
6 dsOvflowErr overflow trap error -20000 unknownInsertModeErr There is no such an insert mode.
7 dsPrivErr privilege violation error -13005 pmRecvEndErr during receive, pmgr did not finish hs configured for this connection
8 dsTraceErr trace mode error -13004 pmRecvStartErr during receive, pmgr did not start hs
9 dsLineAErr line 1010 trap error -13003 pmSendEndErr during send, pmgr did not finish hs
10 dsLineFErr line 1111 trap error -13002 pmSendStartErr during send, pmgr did not start hs
11 dsMiscErr miscellaneous hardware exception error -13001 pmReplyTOErr Timed out waiting for reply
12 dsCoreErr unimplemented core routine error -13000 pmBusyErr Power Mgr never ready to start handshake
13 dsIrqErr uninstalled interrupt error -11005 pictureDataErr the picture data was invalid
14 dsIOCoreErr IO Core Error -11004 colorsRequestedErr the number of colors requested was illegal
15 dsLoadErr Segment Loader Error -11003 cantLoadPickMethodErr unable to load the custom pick proc
16 dsFPErr Floating point error -11002 pictInfoVerbErr the passed verb was invalid
17 dsNoPackErr package 0 not present [List Manager] -11001 pictInfoIDErr the internal consistancy check for the PictInfoID is wrong
18 dsNoPk1 package 1 not present [Reserved by Apple] -11000 pictInfoVersionErr wrong version of the PictInfo structure
19 dsNoPk2 package 2 not present [Disk Initialization] -10116 telNotEnoughdspBW not enough real-time for allocation
20 dsNoPk3 package 3 not present [Standard File] -10115 telBadSampleRate incompatible sample rate
21 dsNoPk4 package 4 not present [Floating-Point Arithmetic] -10114 telBadSWErr Software not installed properly
22 dsNoPk5 package 5 not present [Transcendental Functions] -10113 telDetAlreadyOn detection is already turned on
23 dsNoPk6 package 6 not present [International Utilities] -10112 telAutoAnsNotOn autoAnswer in not turned on
24 dsNoPk7 package 7 not present [Binary/Decimal Conversion] -10111 telValidateFailed telValidate failed
25 dsMemFullErr out of memory! -10110 telBadProcID invalid procID
26 dsBadLaunch can't launch file -10109 telDeviceNotFound device not found
27 dsFSErr file system map has been trashed -10108 telBadCodeResource code resource not found
28 dsStknHeap stack has moved into application heap -10107 telInitFailed initialization failed
30 dsReinsert request user to reinsert off-line volume -10106 telNoCommFolder Communications/Extensions not found
31 dsNotThe1 not the disk I wanted (obsolete) -10103 telUnknownErr unable to set config
33 negZcbFreeErr ZcbFree has gone negative -10102 telNoSuchTool unable to find tool with name specified
40 dsGreeting welcome to Macintosh greeting -10091 telBadFunction bad msgCode specified
41 dsFinderErr can't load the Finder error -10090 telPBErr parameter block error, bad format
42 shutDownAlert handled like a shutdown error (obsolete) -10082 telCANotDeflectable CA not "deflectable"
43 dsSystemFileErr cant find System file to open (obsolete) -10081 telCANotRejectable CA not "rejectable"
51 dsBadSlotInt unserviceable slot interrupt -10080 telCANotAcceptable CA not "acceptable"
81 dsBadSANEopcode bad opcode given to SANE Pack4 -10072 telTermNotOpen terminal not opened via TELOpenTerm
84 menuPrgErr happens when a menu is purged -10071 telStillNeeded terminal driver still needed by someone else
85 dsMBarNFnd SysErr -- cannot find MBDF -10070 telAlreadyOpen terminal already open
86 dsHMenuFindErr SysErr -- recursively defined HMenus -10064 telNoCallbackRef no call back reference was specified, but is required
87 dsWDEFnFnd Could not load WDEF -10063 telDisplayModeNotSupp display mode not supported by tool
88 dsCDEFnFnd Could not load CDEF -10062 telBadDisplayMode bad display mode specified
89 dsMDEFnFnd Could not load MDEF -10061 telFwdTypeNotSupp forward type not supported by tool
98 dsNoPatch Can't patch for particular Model Mac -10060 telDNTypeNotSupp DN type not supported by tool
99 dsBadPatch Can't load patch resource -10059 telBadRate bad rate specified
101 dsParityErr memory parity error -10058 telBadBearerType bad bearerType specified
102 dsOldSystem System is too old for this ROM -10057 telBadSelect unable to select or deselect DN
103 ds32BitMode booting in 32-bit on a 24-bit sys -10056 telBadParkID bad park id specified
20000 dsShutDownOrRestart user choice between ShutDown and Restart -10055 telBadPickupGroupID bad pickup group ID specified
20001 dsSwitchOffOrRestart user choice between switching off and Restart -10054 telBadFwdType bad fwdType specified
20002 dsForcedQuit allow the user to ExitToShell, return if Cancel -10053 telBadFeatureID bad feature ID specified
32767 dsSysErr general system error (catch-all used in DSAT)General System Errors (VBL Mgr, Queue, Etc.) -10052 telBadIntercomID bad intercom ID specified
0 noErr No Error -10051 telBadPageID bad page ID specified
-1 qErr queue element not found during deletion -10050 telBadDNType DN type invalid
-2 vTypErr invalid queue element -10047 telConfLimitExceeded attempt to exceed switch conference limits
-3 corErr core routine number out of range -10046 telCBErr call back feature not set previously
-4 unimpErr unimplemented core routine -10045 telTransferRej transfer request rejected
-5 SlpTypeErr invalid queue element -10044 telTransferErr transfer not prepared
-8 seNoDB no debugger installed to handle debugger command -10043 telConfRej conference request was rejected
-17 controlErr Driver can't respond to Control call -10042 telConfErr conference was not prepared
-18 statusErr Driver can't respond to Status call -10041 telConfNoLimit no limit was specified but required
-19 readErr Driver can't respond to Read call -10040 telConfLimitErr limit specified is too high for this configuration
-20 writErr Driver can't respond to Write call -10033 telFeatNotSupp feature program call not supported by this tool
-21 badUnitErr Driver ref num doesn't match unit table -10032 telFeatActive feature already active
-22 unitEmptyErr Driver ref num specifies NIL handle in unit table -10031 telFeatNotAvail feature subscribed but not available
-23 openErr Requested read/write permission doesn't match -10030 telFeatNotSub feature not subscribed
driver's open permission, or -10024 telDNDTypeNotSupp DND type is not supported by this tool
Attempt to open RAM serial Driver failed -10023 telBadDNDType bad DND type specified
-24 closErr Close failed; Permission to close .MPP driver -10022 telIntExtNotSupp internal external type not supported by this tool
was denied -10021 telBadIntExt bad internal external error
-25 dRemovErr tried to remove an open driver -10020 telStateNotSupp device state not supported by tool
-26 dInstErr DrvrInstall couldn't find driver in resources -10019 telBadStateErr bad device state specified
-27 abortErr IO call aborted by KillIO; Publisher has written -10018 telIndexNotSupp index not supported by this tool
a new edition *OR* IO abort error (Printing Manager) -10017 telBadIndex bad index specified
-28 notOpenErr Couldn't rd/wr/ctl/sts cause driver not opened -10016 telAPattNotSupp alerting pattern not supported by tool
-29 unitTblFullErr Unit table has no more entries -10015 telBadAPattErr bad alerting pattern specified
-30 dceExtErr dce extension error -10014 telVTypeNotSupp volume type not supported by this tool
-33 dirFulErr Directory full -10013 telBadVTypeErr bad volume type error
-34 dskFulErr Disk full -10012 telBadLevelErr bad volume level setting
-35 nsvErr No such volume; volume not found -10011 telHTypeNotSupp hook type not supported by this tool
-36 ioErr I/O error (bummers) -10010 telBadHTypeErr bad hook type specified
-37 bdNamErr Bad file name; there may be no bad names -10008 telNoOpenErr unable to open terminal
in the final system! -10007 telNoMemErr no memory to allocate handle
-38 fnOpnErr File not open -10006 telCAUnavail a CA is not available
-39 eofErr End of file; no additional data in the format -10005 telBadProcErr bad msgProc specified
-40 posErr Tried to position to before start of file (r/w) -10004 telBadHandErr bad handle specified
-41 mFulErr Memory full (open) or file won't fit (load) -10003 telBadCAErr TELCAHandle not found or invalid
-42 tmfoErr too many files open -10002 telBadDNErr TELDNHandle not found or invalid
-43 fnfErr File not found; Folder not found; -10001 telBadTermErr invalid TELHandle or handle not found
Edition container not found; Target not found -6231 kDMMainDisplayCannotMoveErr Trying to move main display (or a display mirrored to it)
-44 wPrErr Diskette is write protected; Volume is locked -6230 kDMDisplayAlreadyInstalledErr Attempt to add an already installed display.
through hardware -6229 kDMDisplayNotFoundErr Could not find item (will someday remove).
-45 fLckdErr File is locked *OR* Publisher writing to an edition -6228 kDMDriverNotDisplayMgrAwareErr Video Driver does not support display manager.
-46 vLckdErr Volume is locked through software -6227 kDMSWNotInitializedErr Required software not initialized (eg windowmanager or display mgr).
-47 fBsyErr File is busy (delete); Section doing I/O -6226 kSysSWTooOld Missing critical pieces of System Software.
-48 dupFNErr Duplicate filename (rename); File found -6225 kDMMirroringNotOn Returned by all calls that need mirroring to be on to do their thing.
instead of folder -6224 kDMCantBlock Mirroring is already on, cant Block now (call DMUnMirror() first).
-49 opWrErr File already open with with write permission -6223 kDMMirroringBlocked DMBlockMirroring() has been called.
-50 paramErr Error in user parameter list -6222 kDMWrongNumberOfDisplays Can only handle 2 displays for now.
-51 rfNumErr Reference number invalid -6221 kDMMirroringOnAlready Returned by all calls that need mirroring to be off to do their thing.
-52 gfpErr Get file position error -6220 kDMGenErr Unexpected Error
-53 volOffLinErr Volume is off line -5553 gestaltLocationErr gestalt function ptr wasn't in sysheap
-54 permErr Software lock on file; Not a subscriber -5552 gestaltDupSelectorErr tried to add an entry that already existed
[permissions error on file open] -5551 gestaltUndefSelectorErr undefined selector was passed to Gestalt
-55 volOnLinErr drive volume already on-line at MountVol -5550 gestaltUnknownErr value returned if Gestalt doesn't know the answer
-56 nsDrvErr no such drive (tried to mount a bad drive num) -5502 envVersTooBig Version bigger than call can handle
-57 noMacDskErr not a mac diskette (sig bytes are wrong) -5501 envBadVers Version non-positive
-58 extFSErr External file system file system identifier is nonzero -5500 envNotPresent returned by glue.
-59 fsRnErr file system internal error: during rename the old -5044 afpInsideTrashErr 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
entry was deleted but could not be restored -5043 afpInsideSharedErr 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.
-60 badMDBErr bad master directory block -5042 afpPwdExpiredErr the password being used is too old: this requires the user to change the password before log-in can continue
-61 wrPermErr Write permissions error; Not a publisher -5041 afpPwdTooShortErr the password being set is too short: there is a minimum length that must be met or exceeded
-64 fontDecError error during font declaration *OR* drive not installed -5040 afpPwdSameErr someone tried to change their password to the same password on a mantadory password change
-65 fontNotDeclared font not declared *OR* r/w requested for an off-line drive -5033 afpContainsSharedErr the folder being shared contains a shared folder
-66 fontSubErr font substitution occured *OR* couldn't find 5 nybbles in 200 tries -5032 afpObjectLocked Object is M/R/D/W inhibited
-67 noAdrMkErr couldn't find valid addr mark -5031 afpVolLocked Volume is Read-Only
-68 dataVerErr read verify compare failed -3026 couldNotParseSourceFileErr Source document does not contain source type
-69 badCksmErr addr mark checksum didn't check -3025 invalidTranslationPathErr Source type to destination type not a valid path
-70 badBtSlpErr bad addr mark bit slip nibbles -2899 fragLastErrCode last reserved error code number
-71 noDtaMkErr couldn't find a data mark header -2824 fragInvalidFragmentUsage an application fragment or accellerated resource has no entry point or termination routine
-72 badDCksum bad data mark checksum -2823 fragArchError fragment targeted for an unacceptable architecture
-73 badDBtSlp bad data mark bit slip nibbles -2822 fragAppNotFound no application found in cfrg (for Process Manager)
-74 wrUnderrun write underrun occurred -2821 fragUserInitProcErr user intialization routine did not return noErr
-75 cantStepErr step handshake failed -2820 fragCorruptErr fragment container corrupted (known format)
-76 tk0BadErr track 0 detect doesn't change -2819 fragConstErr internal inconstistancy
-77 initIWMErr unable to initialize IWM -2818 fragMgrInitErr error in initailization of this manager
-78 twoSideErr tried to read 2nd side on a 1-sided drive -2817 fragLibConnErr error connecting to library (error occured in sub prepare)
-79 spdAdjErr unable to correctly adjust disk speed -2816 fragInitRtnUsageErr boot library has initialization routine
-80 seekErr track number wrong on address mark -2815 fragInitLoop circularity detected in mandatory initialization order
-81 sectNFErr sector number never found on a track -2814 fragImportTooNew import library was too new and therefore incompatible
-82 fmt1Err can't find sector 0 after track format -2813 fragImportTooOld import library was too old and therefore incompatible
-83 fmt2Err can't get enough sync -2812 fragObjectInitSeqErr order error during user initialization function invocation
-84 verErr track failed to verify -2811 fragNoContextIDs no more context ids
-85 clkRdErr unable to read same clock value twice -2810 fragNoAddrSpace out of memory in user's address space for loadable section
-86 clkWrErr time written did not verify -2809 fragNoMem out of memory for interal bookkeeping
-87 prWrErr parameter ram written didn't read-verify -2808 fragUnused1 unused
-88 prInitErr InitUtil found the parameter ram uninitialized -2807 fragHadUnresolveds loaded fragment had "hard" unresolved imports
-89 rcvrErr SCC receiver error (framing, parity, OR) -2806 fragFormatUnknown fragment container format unknown
-90 breakRecd Break received (SCC) -2805 fragDupRegLibName registered name already in use
-91 ddpSktErr Error opening socket *OR* Invalid address or table is full -2804 fragLibNotFound library name not found in Frag registry
-92 ddpLenErr Data length too big *OR* Packet too large or first entry of the write-data -2803 fragSectionNotFound section was not found
structure did not contain the full 14-byte header -2802 fragSymbolNotFound symbol was not found in connection
-93 noBridgeErr No router available [for non-local send] -2801 fragConnectionIDNotFound connecionID was not valid
-94 lapProtErr error in attaching/detaching protocol *OR* Protocol handler is already attached, nodes -2800 fragContextNotFound contextID was not valid
protocol table is full, protocol not attached, -2551 nrPathBufferTooSmall buffer for path is too small
or protocol handler pointer was not 0 -2550 nrPathNotFound a path component lookup failed
-95 excessCollsns Hardware error [excessive collisions on write] -2519 tsmUnknownErr any other errors
-97 portInUse driver Open error code (port is in use) -2518 tsmUnsupportedTypeErr unSupported interface type error
-98 portNotCf driver Open error code (parameter RAM not -2517 tsmScriptHasNoIMErr script has no imput method or is using old IM
configured for this connection) -2516 tsmInputMethodIsOldErr returned by GetDefaultInputMethod
-99 memROZErr hard error in ROZ -2515 tsmComponentAlreadyOpenErr text service already opened for the document
-100 noScrapErr No scrap exists error -2514 tsmTSNotOpenErr text service is not open
-102 noTypeErr Format not available [no object of that type in scrap] -2513 tsmTSHasNoMenuErr the text service has no menu
-108 memFullErr Ran out of memory [not enough room in heap zone] -2512 tsmUseInputWindowErr not TSM aware because we are using input window
-109 nilHandleErr GetHandleSize fails on baseText or substitutionText; -2511 tsmDocumentOpenErr there are open documents
NIL master pointer [handle was NIL in HandleZone -2510 tsmTextServiceNotFoundErr no text service found
or other] -2509 tsmCantOpenComponentErr cant open the component
-110 memAdrErr Address was odd, or out of range -2508 tsmNoOpenTSErr no open text service
-111 memWZErr Attempted to operate on a free block; GetHandleSize -2507 tsmDocNotActiveErr document is NOT active
fails on baseText or substitutionText -2506 tsmTSMDocBusyErr document is still active
[WhichZone failed (applied to free block)] -2505 tsmInvalidDocIDErr invalid TSM documentation id
-112 memPurErr Trying to purge a locked or non-purgeable block -2504 tsmNeverRegisteredErr app never registered error (not TSM aware)
-113 memAZErr Address in zone check failed -2503 tsmAlreadyRegisteredErr want to register again error
-114 memPCErr Pointer Check failed -2502 tsmNotAnAppErr not an application error
-115 memBCErr Block Check failed -2209 badCallOrderErr Usually due to a status call being called prior to being setup first
-116 memSCErr Size Check failed -2208 noDMAErr Cant do DMA digitizing (i.e. can't go to requested dest
-117 memLockedErr Trying to move a locked block (MoveHHi) -2207 badDepthErr Cant digitize into this depth
-120 dirNFErr Directory not found -2206 notExactSizeErr Cant do exact size requested
-121 tmwdoErr No free WDCB available -2205 noMoreKeyColorsErr all key indexes in use
-122 badMovErr Move into offspring error -2204 notExactMatrixErr warning of bad matrix, digitizer did its best
-123 wrgVolTypErr Not an HFS volume [wrong volume type error -2203 matrixErr bad matrix, digitizer did nothing
or (obsolete) operation not supported for MFS] -2202 qtParamErr bad input parameter (out of range, etc)
-124 volGoneErr Server volume has been disconnected. -2201 digiUnimpErr feature unimplemented
-125 updPixMemErr Insufficient memory to update a pixmap -2056 soundSupportNotAvailableErr QT for Windows error
-127 fsDSIntErr Internal file system error *OR* Could not find HMenu's parent in MenuKey -2055 noSoundTrackInMovieErr QT for Windows error
-126 dsMBarNFnd System error code for MBDF not found -2054 noVideoTrackInMovieErr QT for Windows error
-128 userCanceledErr User canceled an operation -2022 cantCreateSingleForkFile happens when file already exists
-130 fidNotFound no file thread exists -1857 dragNotAcceptedErr drag was not accepted by receiver
-131 fidNotAFile directory specified -1856 handlerNotFoundErr handler not found
-132 fidExists file id already exists -1855 duplicateHandlerErr handler already exists
-147 regionTooBigError Region too big or complex -1854 cantGetFlavorErr error while trying to get flavor data
-148 pixMapTooBigErr Pixel map record is deeper than 1 bit per pixel -1853 duplicateFlavorErr flavor type already exists
[passed pixelmap is too large] -1852 badDragFlavorErr unknown flavor type
-149 notEnoughStack Not enough stack space for the necessary buffers *OR* Insufficient stack -1851 badDragItemErr unknown drag item reference
-150 cMatchErr Color2Index failed to find an index -1850 badDragRefErr unknown drag reference
-151 cTempMemErr Failed to allocate memory for temporary structures -1762 errOSACantOpenComponent Can't connect to scripting system with that ID
-152 cNoMemErr Failed to allocate memory for structure -1761 errOSAComponentMismatch Parameters are from 2 different components
-153 cRangeErr Range error on colorTable request -1732 errAERecordingIsAlreadyOn available only in version 1.0.1 or greater
-154 cProtectErr ColorTable entry protection violation -1731 errAEUnknownObjectType available only in version 1.0.1 or greater
-155 cDevErr Invalid type of graphics device -1730 errAEEmptyListContainer Attempt to pass empty list as container to accessor
-156 cResErr Invalid resolution for MakeITable -1729 errAENegativeCount CountProc returned negative value
-157 cDepthErr Invalid pixel depth -1728 errAENoSuchObject e.g.,: specifier asked for the 3rd, but there are only 2. Basically, this indicates a run-time resolution error.
-158 cParmErr Invalid parameter -1727 errAENotAnObjSpec Param to AEResolve not of type 'obj '
-185 badExtResource Extended resource has a bad format. -1726 errAEBadTestKey Test is neither typeLogicalDescriptor nor typeCompDescriptor
-186 CantDecompress Resource bent ("the bends") -1725 errAENoSuchLogical Something other than AND, OR, or NOT
can't decompress a compressed resource -1723 errAEAccessorNotFound Accessor proc matching wantClass and containerType or wildcards not found
-188 resourceInMemory Resource already in memory -1721 errAEWrongNumberArgs Logical op kAENOT used with other than 1 term
-189 writingPastEnd Writing past end of file -1720 errAEImpossibleRange A range like 3rd to 2nd, or 1st to all.
-190 inputOutOfBounds Offset or count out of bounds -1719 errAEIllegalIndex index is out of range in a put operation
-192 resNotFound Resource not found -1718 errAEReplyNotArrived the contents of the reply you are accessing have not arrived yet
-193 resFNotFound Resource file not found -1717 errAEHandlerNotFound no handler in the dispatch tables fits the parameters to AEGetEventHandler or AEGetCoercionHandler
-194 addResFailed AddResource failed -1716 errAEUnknownAddressType the target address type is not known
-195 addRefFailed AddReference failed -1715 errAEParamMissed a required parameter was not accessed
-196 rmvResFailed RmveResource failed -1714 errAENotASpecialFunction there is no special function for/with this keyword
-197 rmvRefFailed RmveReference failed -1713 errAENoUserInteraction no user interaction is allowed
-198 resAttrErr Attribute inconsistent with operation -1712 errAETimeout the AppleEvent timed out
-199 mapReadErr Map inconsistent with operation -1711 errAEWaitCanceled in AESend, the user cancelled out of wait loop for reply or receipt
-200 noHardware Required sound hardware not available -1710 errAEUnknownSendMode mode wasn't NoReply, WaitReply, or QueueReply or Interaction level is unknown
[no hardware support for the specified synthesizer] -1709 errAEReplyNotValid AEResetTimer was passed an invalid reply parameter
-201 notEnoughHardware Insufficient hardware available -1708 errAEEventNotHandled the AppleEvent was not handled by any handler
[no more channels for the specified synthesizer] -1707 errAENotAppleEvent the event is not in AppleEvent format
-203 queueFull No room in the queue -1706 errAENewerVersion need newer version of the AppleEvent manager
-204 resProblem Problem loading the resource -1705 errAEBadListItem the specified list item does not exist
-205 badChannel Channel is corrupt or unusable -1700 errAECoercionFail bad parameter data or unable to coerce the data supplied
[invalid channel queue length] -1310 fsDataTooBigErr file or volume is too big for system
-206 badFormat Resource is corrupt or unusable -1309 fileBoundsErr file's EOF, offset, mark or size is too big
[handle to 'snd ' resource was invalid] -1308 notARemountErr when _Mount allows only remounts and doesn't get one
-207 notEnoughBufferSpace Insufficient memory available -1307 badFidErr file id is dangling or doesn't match with the file number
-208 badFileFormat File is corrupt or unusable, or not AIFF or AIFF-C -1306 sameFileErr can't exchange a file with itself
-209 channel Channel is busy -1305 desktopDamagedErr desktop database files are corrupted
-210 buffersTooSmall Buffer is too small -1304 catChangedErr the catalog has been modified
-211 channelNotBusy Channel not currently used -1303 diffVolErr files on different volumes
-212 noMoreRealTime Not enough CPU time available -1302 notAFileErr directory specified
-213 badParam A parameter is incorrect -1301 fidExists file id already exists
-220 siNoSoundInHardware No sound input hardware available -1300 fidNotFound no file thread exists.
-221 siBadSoundInDevice Invalid sound input device -1280 errRefNum bad connection refNum
-222 siNoBufferSpecified No buffer specified -1279 errAborted control call was aborted
-223 siInvalidCompression Invalid compression type -1278 errState bad connection state for this operation
-224 siHardDiskTooSlow Hard drive too slow to record -1277 errOpening open connection request failed
-225 siInvalidSampleRate Invalid sample rate -1276 errAttention attention message too long
-226 siInvalidSampleSize Invalid sample size -1275 errFwdReset read terminated by forward reset
-227 siDeviceBusyErr Sound input device is busy -1274 errDSPQueueSize DSP Read/Write Queue Too small
-228 siBadDeviceName Invalid device name -1273 errOpenDenied open connection request was denied
-229 siBadRefNum Invalid reference number -1075 aspNoAck No ack on attention request (server err)
-230 siInputDeviceErr Input device hardware failure -1074 aspTooMany Too many clients (server error)
-231 siUnknownInfoType Unknown type of information -1073 aspSizeErr Command block too big
-232 siUnknownQuality Unknown quality -1072 aspSessClosed Session closed
-250 midiNoClientErr no client with that ID found -1071 aspServerBusy Server cannot open another session
-251 midiNoPortErr no port with that ID found -1070 aspParamErr Parameter error
-252 midiTooManyPortsErr too many ports already installed in the system -1069 aspNoServers No servers at that address
-253 midiTooManyConsErr too many connections made -1068 aspNoMoreSess No more sessions on server
-254 midiVConnectErr pending virtual connection created -1067 aspBufTooSmall Buffer too small
-255 midiVConnectMade pending virtual connection resolved -1066 aspBadVersNum Server cannot support this ASP version
-256 midiVConnectRmvd pending virtual connection removed -1029 nbpNISErr Error trying to open the NIS
-257 midiNoConErr no connection exists between specified ports -1028 nbpNotFound Name not found on remove
-258 midiWriteErr couldn't write to all connected ports -1027 nbpDuplicate Duplicate name exists already
-259 midiNameLenErr name supplied is longer than 31 characters -1026 nbpConfDiff Name confirmed at different socket
-260 midiDupIDErr duplicate client ID -1024 nbpBuffOvr Buffer overflow in LookupName
-261 midiInvalidCmdErr command not supported for port type -1000 noMaskFoundErr Icon Utilties Error
-299 nmTypErr Invalid qTypemust be ORD(nmType) -932 guestNotAllowedErr destination port requires authentication
-290 smSDMInitErr SDM could not be initialized. -931 badLocNameErr location name malformed
-291 smSRTInitErr Slot Resource Table could not be initialized. -930 badServiceMethodErr illegal service type, or not supported
-292 smPRAMInitErr Slot Resource Table could not be initialized. -928 noUserRecErr Invalid user reference number
-293 smPriInitErr Cards could not be initialized. -927 authFailErr unable to authenticate user at destination
-300 smEmptySlot No card in slot -926 noInformErr PPCStart failed because destination did not have inform pending
-301 smCRCFail CRC check failed for declaration data -925 networkErr An error has occured in the network, not too likely
-302 smFormatErr FHeader Format is not Apple's -924 noUserRefErr unable to create a new userRefNum
-303 smRevisionErr Wrong revison level -923 notLoggedInErr The default userRefNum does not yet exist
-304 smNoDir Directory offset is Nil -922 noDefaultUserErr user hasn't typed in owners name in Network Setup Control Pannel
-305 smLWTstBad Long Word test field <> $5A932BC7. -919 badPortNameErr PPCPortRec malformed
-306 smNosInfoArray No sInfoArray. Memory Mgr error. -917 sessClosedErr session was closed
-307 smResrvErr Fatal reserved error. Reserved field <> 0. -916 portClosedErr port was closed
-308 smUnExBusErr Unexpected Bus Error -915 noResponseErr unable to contact destination
-309 smBLFieldBad ByteLanes field was bad. -914 noToolboxNameErr A system resource is missing, not too likely
-310 smFHBlockRdErr Error occured during _sGetFHeader. -913 noMachineNameErr user hasn't named his Macintosh in the Network Setup Control Panel
-311 smFHBlkDispErr Error occured during _sDisposePtr (Dispose of -912 userRejectErr Destination rejected the session request
FHeader block). -911 noUserNameErr user name unknown on destination machine
-312 smDisposePErr _DisposePointer error -910 portNameExistsErr port is already open (perhaps in another app)
-313 smNoBoardsRsrc No Board sResource. -909 badReqErr bad parameter or invalid state for operation
-314 smGetPRErr Error occured during _sGetPRAMRec (See SIMStatus). -908 noSessionErr Invalid session reference number
-315 smNoBoardId No Board Id. -907 sessTableErr Out of session tables, try again later
-316 smIntStatVErr The InitStatusV field was negative after primary -906 destPortErr Port does not exist at destination
or secondary init. -905 localOnlyErr Network activity is currently disabled
-317 smIntTblVErr An error occured while trying to initialize the -904 noGlobalsErr The system is hosed, better re-boot
Slot Resource Table. -903 noPortErr Unable to open port or bad portRefNum
-318 smNoJmpTbl SDM jump table could not be created. -902 nameTypeErr Invalid or inappropriate locationKindSelector in locationName
-319 smBadBoardId BoardId was wrong, re-init the PRAM record. -900 notInitErr PPCToolBox not initialized
-320 smBusErrTO BusError time out. -863 hmCloseViewActive Returned from HMRemoveBalloon if CloseView was active
-330 smBadRefId Reference Id not found in list -862 hmNoBalloonUp Returned from HMRemoveBalloon if no balloon was visible when call was made
-331 smBadsList Bad sResource [sList] structure: -861 hmOperationUnsupported Returned from HMShowBalloon call if bad method passed to routine
Id1<Id2<Id3 format is not followed. -859 hmUnknownHelpType Returned if help msg record contained a bad type
-332 smReservedErr Reserved field not zero -858 hmWrongVersion Returned if help mgr resource was the wrong version
-333 smCodeRevErr Code revision is wrong -857 hmSkippedBalloon Returned from calls if helpmsg specified a skip balloon
-334 smCPUErr Code revision is wrong -855 hmHelpManagerNotInited Returned from HMGetHelpMenuHandle if help menu not setup
-335 smsPointerNil LPointer is nil {From sOffsetData. If this error -854 hmSameAsLastBalloon Returned from HMShowMenuBalloon if menu & item is same as last time
occurs, check sInfo rec for more information.} -853 hmBalloonAborted Returned if mouse was moving or mouse wasn't in window port rect
-336 smNilsBlockErr Nil sBlock error {Dont allocate and try to use a -850 hmHelpDisabled Show Balloons mode was off, call to routine ignored
nil sBlock} -813 rcDBPackNotInited attempt to call other routine before InitDBPack
-337 smSlotOOBErr Slot out of bounds error -812 rcDBWrongVersion incompatible versions
-338 smSelOOBErr Selector out of bounds error; function not implemented -811 rcDBNoHandler no app handler for specified data type
-339 smNewPErr _NewPtr error -810 rcDBBadAsyncPB tried to kill a bad pb
-340 smBlkMoveErr _BlockMove error -809 rcDBAsyncNotSupp ddev does not support async calls
-341 smCkStatusErr Status of slot = fail. -808 rcDBBadDDEV bad ddev specified on DBInit
-342 smGetDrvrNamErr Error occured during _sGetDrvrName. -807 rcDBBadSessNum bad session number for DBGetConnInfo
-343 smDisDrvrNamErr Error occured during _sDisDrvrName. -626 noMMUErr no MMU present
-344 smNoMoresRsrcs No more sResources *OR* Specified sResource data structure not found -625 cannotDeferErr unable to defer additional functions
-345 smsGetDrvrErr Error occurred during _sGetDriver. -624 interruptsMaskedErr dont call with interrupts masked
-346 smBadsPtrErr Bad pointer was passed to sCaldSPointer function -623 notLockedErr specified range of memory is not locked
-347 smByteLanesErr ByteLanes field in cards format block was -622 cannotMakeContiguousErr cannot make specified range contiguous
determined to be zero -621 notHeldErr specified range of memory is not held
-348 smOffsetErr Offset was too big (temporary, should be fixed) -620 notEnoughMemoryErr insufficient physical memory
-349 smNoGoodOpens No opens were successfull in the loop. -610 noUserInteractionAllowed no user interaction allowed
-350 smSRTOvrFlErr SRT over flow. -607 bufferIsSmall error returns from Post and Accept
-351 smRecNotFnd Record not found in the SRT. -606 appIsDaemon app is BG-only, and launch flags disallow this
-360 slotNumErr invalid slot # error -605 appMemFullErr application SIZE not big enough for launch
-400 gcrOnMFMErr gcr format on high density media error -604 hardwareConfigErr hardware configuration not correct for call
-450 editionMgrInitErr Manager not initialized or could not -603 protocolErr app made module calls in improper order
load package -602 appModeErr memory mode is 32-bit, but app not 32-bit clean
-451 badSectionErr Not a valid section type -601 memFragErr not enough room to launch app w/special requirements
-452 notRegisteredSectionErr Not registered -600 procNotFound no eligible process with specified descriptor
-454 badSubPartErr Bad edition container spec or invalid -502 hwParamErr bad selector for _HWPriv
edition container -501 teScrapSizeErr scrap item too big for text edit record
-460 multiplePublisherWrn Already is a publisher -492 exUserBreak user debugger break; execute debugger commands on stack
-461 containerNotFoundWrn Alias was not resolved -491 strUserBreak user debugger break; display string on stack
-463 notThePublisherWrn Not the publisher -490 userBreak user debugger break
-470 scsiBadPBErr invalid field(s) in the parameter block -463 notThePublisherWrn not the first registered publisher for that container
-471 scsiOverrunErr attempted to transfer too many bytes -462 containerAlreadyOpenWrn container already opened by this section
-472 scsiTransferErr write flag conflicts with data transfer phase -461 containerNotFoundWrn could not find editionContainer at this time
-473 scsiBusTOErr bus error during transfer -460 multiplePublisherWrn A Publisher is already registered for that container
-474 scsiSelectTOErr scsiSelTO exceeded (selection failed) -454 badSubPartErr can not use sub parts in this release
-475 scsiTimeOutErr scsiReqTO exceeded -453 badEditionFileErr edition file is corrupt
-476 scsiBusResetErr the bus was reset, so your request was aborted -452 notRegisteredSectionErr not a registered SectionRecord
-477 scsiBadStatus non-zero (not "Good") status returned -451 badSectionErr not a valid SectionRecord
-478 scsiNoStatusErr device did not go through a status phase -450 editionMgrInitErr edition manager not inited by this app
-479 scsiLinkFailErr linked command never executed -417 btKeyAttrErr There is no such a key attribute.
-489 scsiUnimpVctErr unimplemented routine was called -416 btKeyLenErr Maximum key length is too long or equal to zero.
-490 userBreak user debugger break -415 btRecNotFnd Record cannot be found.
-491 strUserBreak user debugger break - display string on stack -414 btDupRecErr Record already exists.
-492 exUserBreak user debugger break - execute commands on stack -413 btNoSpace Can't allocate disk space.
-500 rgnTooBigErr Bitmap would convert into a region greater than 64 KB -410 notBTree The file is not a dictionary.
-501 teScrapSizeErr scrap item too big for text edit record -400 gcrOnMFMErr gcr format on high density media error
-502 hwParamrErr bad selector for _HWPriv -360 slotNumErr invalid slot # error
-600 procNotFound No eligible process with specified process -351 smRecNotFnd Record not found in the SRT.
serial number -350 smSRTOvrFlErr SRT over flow.
-601 memFragErr Not enough room to launch application -349 smNoGoodOpens No opens were successfull in the loop.
w ith special requirements -348 smOffsetErr Offset was too big (temporary error
-602 appModeErr Memory mode is 32-bit, but application is -347 smByteLanesErr NumByteLanes was determined to be zero.
not 32-bit clean -346 smBadsPtrErr Bad pointer was passed to sCalcsPointer
-603 protocolErr app made module calls in improper order -345 smsGetDrvrErr Error occurred during _sGetDriver.
-604 hardwareConfigErr hardware configuration not correct for call -344 smNoMoresRsrcs No more sResources
-605 appMemFullErr Partition size specified in 'SIZE' resource is -343 smDisDrvrNamErr Error occured during _sDisDrvrName.
not big enough for launch -342 smGetDrvrNamErr Error occured during _sGetDrvrName.
-606 appIsDaemon Application is background-only -341 smCkStatusErr Status of slot = fail.
-607 bufferIsSmall Buffer is too small -340 smBlkMoveErr _BlockMove error
-608 noOutstandingHLE No outstanding high-level event -339 smNewPErr _NewPtr error
-609 connectionInvalid Connection is invalid -338 smSelOOBErr Selector out of bounds error
-610 noUserInteractionAllowed Attempted PostHighLevelEvent from -337 smSlotOOBErr Slot out of bounds error
background and no session yet established -336 smNilsBlockErr Nil sBlock error (Dont allocate and try to use a nil sBlock)
-620 notEnoughMemoryErr Insufficient physical memory -335 smsPointerNil LPointer is nil From sOffsetData. If this error occurs; check sInfo rec for more information.
-621 notHeldErr Specified range of memory is not held -334 smCPUErr Code revision is wrong
-622 cannotMakeContiguousErr Cannot make specified range contiguous -333 smCodeRevErr Code revision is wrong
-623 notLockedErr Specified range of memory is not locked -332 smReservedErr Reserved field not zero
-624 interruptsMaskedErr Called with interrupts masked -331 smBadsList Bad sList: Id1 < Id2 < Id3 ...format is not followed.
-625 cannotDeferErr Unable to defer additional user functions -330 smBadRefId Reference Id not found in List
-800 rcDBNull The data item was NULL -320 smBusErrTO BusError time out.
-801 rcDBValue Data available or successfully retrieved -319 smBadBoardId BoardId was wrong; re-init the PRAM record.
-802 rcDBError Error executing function -318 smNoJmpTbl SDM jump table could not be created.
-803 rcDBBadType Next data item not of requested data type -317 smInitTblVErr An error occured while trying to initialize the Slot Resource Table.
-804 rcDBBreak Function timed out -316 smInitStatVErr The InitStatusV field was negative after primary or secondary init.
-805 rcDBExec Query currently executing -315 smNoBoardId No Board Id.
-806 reDBBadSessID Session ID is invalid -314 smGetPRErr Error occured during _sGetPRAMRec (See SIMStatus).
-807 rcDBBadSessNum Invalid session number -313 smNoBoardSRsrc No Board sResource.
-808 rcDBBadDDEV Couldnt find the specified database extension, -312 smDisposePErr _DisposePointer error
or error occurred in opening database extension -311 smFHBlkDispErr Error occured during _sDisposePtr (Dispose of FHeader block).
-809 rcDBAsyncNotSupp The database extension does not support -310 smFHBlockRdErr Error occured during _sGetFHeader.
asynchronous calls -309 smBLFieldBad ByteLanes field was bad.
-810 rcDBBadAsyncPB Invalid parameter block specified -308 smUnExBusErr Unexpected BusError
-811 rcDBNoHandler There is no handler for this data type -307 smResrvErr Fatal reserved error. Resreved field <> 0.
installed for the current application -306 smNosInfoArray No sInfoArray. Memory Mgr error.
-812 rcDBWrongVersion Wrong version number -305 smDisabledSlot This slot is disabled (-305 use to be smLWTstBad)
-813 rcDBPackNotInited The InitDBPack function has not yet been called -304 smNoDir Directory offset is Nil
-850 hmHelpDisabled Help balloons are not enabled -303 smRevisionErr Wrong revison level
-851 hmResNotFound ???? -302 smFormatErr FHeader Format is not Apple's
-852 hmMemFullErr ???? -301 smCRCFail CRC check failed for declaration data
-853 hmBalloonAborted Because of constant cursor movement, -300 smEmptySlot No card in slot
the help balloon wasnt displayed -299 nmTypErr wrong queue type
-854 hmSameAsLastBalloon Menu and item are same as previous menu and item -293 smPriInitErr Error; Cards could not be initialized.
-855 hmHelpManagerNotInited Help menu not set up -292 smPRAMInitErr Error; Slot Resource Table could not be initialized.
-856 hmBadSelector ???? -291 smSRTInitErr Error; Slot Resource Table could not be initialized.
-857 hmSkippedBalloon No ballon content to fill in -290 smSDMInitErr Error; SDM could not be initialized.
-858 hmWrongVersion Wrong version of Help Manager resource -261 midiInvalidCmdErr command not supported for port type
-859 hmUnknownHelpType Help message record contained a bad type -260 midiDupIDErr duplicate client ID
-860 hmCouldNotLoadPackage ???? -259 midiNameLenErr name supplied is longer than 31 characters
-861 hmOperationUnsupported Bad method parameter -258 midiWriteErr MIDIWritePacket couldn't write to all connected ports
-862 hmNoBalloonUp No balloon showing -257 midiNoConErr no connection exists between specified ports
-863 hmCloseViewActive User using Close View wont let you remove balloon -256 midiVConnectRmvd pending virtual connection removed
-900 notInitErr PPC Toolbox has not been initialized yet -255 midiVConnectMade pending virtual connection resolved
-902 nameTypeErr Invalid or inappropriate locationKindSelector -254 midiVConnectErr pending virtual connection created
in location name -253 midiTooManyConsErr too many connections made
-903 noPortErr Invalid port name; Unable to open port or bad -252 midiTooManyPortsErr too many ports already installed in the system
port reference number -251 midiNoPortErr no port with that ID found
-904 noGlobalsErr System unable to allocate memory, critical error -250 midiNoClientErr no client with that ID found
-905 localOnlyErr Network activity is currently disabled -232 siUnknownQuality invalid quality selector (returned by driver)
-906 destPortErr Port does not exist at destination -231 siUnknownInfoType invalid info type selector (returned by driver)
-907 sessTableErr PPC Toolbox is unable to create a session -230 siInputDeviceErr input device hardware failure
-908 noSessionErr Invalid session reference number -229 siBadRefNum invalid input device reference number
-909 badReqErr Bad parameter or invalid state for this operation -228 siBadDeviceName input device could not be opened
-910 portNameExistsErr Another port is already open with this name -227 siDeviceBusyErr input device already in use
-911 noUserNameErr User name unknown on destination machine -226 siInvalidSampleSize invalid sample size
-912 userRejectErr Destination rejected the session request -225 siInvalidSampleRate invalid sample rate
-915 noResponseErr Unable to contact application -224 siHardDriveTooSlow hard drive too slow to record to disk
-916 portClosedErr The port was closed -223 siInvalidCompression invalid compression type
-917 sessClosedErr The session has closed -222 siNoBufferSpecified returned by synchronous SPBRecord if nil buffer passed
-919 badPortNameErr PPC port record is invalid -221 siBadSoundInDevice invalid index passed to SoundInGetIndexedDevice
-922 noDefaultUserErr User has not specified owner name in Sharing Setup -220 siNoSoundInHardware no Sound Input hardware
control panel -212 noMoreRealTime not enough CPU cycles left to add another task
-923 notLoggedInErr Default user reference number does not yet exist -210 buffersTooSmall can not operate in the memory allowed
-924 noUserRefErr Unable to create a new user reference number -209 channelBusy the Channel is being used for a PFD already
-925 networkErr An error has occurred in the network -208 badFileFormat was not type AIFF or was of bad format,corrupt
-926 noInformErr PPCStart failed because target application did not -207 notEnoughBufferSpace could not allocate enough memory
have an inform pending -206 badFormat Sound Manager Error Returns
-927 authFailErr Users password is wrong -205 badChannel Sound Manager Error Returns
-928 noUserRecErr Invalid user reference number -204 resProblem Sound Manager Error Returns
-930 badServiceMethodErr Service method is other than -203 queueFull Sound Manager Error Returns
ppcServiceRealTime -201 notEnoughHardwareErr Sound Manager Error Returns
-931 badLocNameErr Location name is invalid -200 noHardwareErr Sound Manager Error Returns
-932 guestNotAllowedErr Destination port requires authentication -199 mapReadErr map inconsistent with operation
-1024 nbpBuffOvr Buffer overflow in LookupName -198 resAttrErr attribute inconsistent with operation
-1025 nbpNoConfirm Name not confirmed on ConfirmName -197 rmvRefFailed RmveReference failed
-1026 nbpConfDiff Name confirmed at different socket -196 rmvResFailed RmveResource failed
-1027 nbpDuplicate Duplicate name exists already -195 addRefFailed AddReference failed
-1028 nbpNotFound Name not found on remove -194 addResFailed AddResource failed
-1029 nbpNISErr Error trying to open the NIS -193 resFNotFound Resource file not found
-1066 aspBadVersNum Server cannot support this ASP version -192 resNotFound Resource not found
-1067 aspBufTooSmall Buffer too small -190 inputOutOfBounds Offset of Count out of bounds
-1068 aspNoMoreSess No more sessions on server -189 writingPastEnd Writing past end of file
-1069 aspNoServers No servers at that address -188 resourceInMemory Resource already in memory
-1070 aspParamErr Parameter error -186 CantDecompress resource bent ("the bends") - can't decompress a compressed resource
-1071 aspServerBusy Server cannot open another session -185 badExtResource extended resource has a bad format.
-1072 aspSessClosed Session closed -157 cDepthErr invalid pixel depth
-1073 aspSizeErr Command block too big -156 cResErr invalid resolution for MakeITable
-1074 aspTooMany Too many clients (server error) -155 cDevErr invalid type of graphics device
-1075 aspNoAck No ack on attention request (server err) -154 cProtectErr colorTable entry protection violation
-1096 reqFailed Request to contact router failed: retry count exceeded -153 cRangeErr range error on colorTable request
-1097 tooManyReqs Too many concurrent requests -152 cNoMemErr failed to allocate memory for structure
-1098 tooManySkts Too many concurrent responding-sockets -151 cTempMemErr failed to allocate memory for temporary structures
-1099 badATPSkt Bad ATP-responding socket -150 cMatchErr Color2Index failed to find an index
-1100 badBuffNum Bad response buffer number specififed -127 hMenuFindErr could not find HMenu's parent in MenuKey
-1101 noRelErr No release received -126 mBarNFnd system error code for MBDF not found
-1102 cbNotFound Control Block not found; no pending -125 updPixMemErr insufficient memory to update a pixmap
asynchronous calls -124 volGoneErr Server volume has been disconnected.
-1103 noSendResp AddResponse issued without SendResponse -123 wrgVolTypErr Wrong volume type error [operation not supported for MFS]
-1104 noDataArea No data area for request to MPP -122 badMovErr Move into offspring error
-1105 reqAborted ERdCancel function called for this ERead -121 tmwdoErr No free WDCB available
[SendRequest aborted by RelTCB] -120 dirNFErr Directory not found
-1273 errOpenDenied Open request denied by recipient -117 memLockedErr trying to move a locked block (MoveHHi)
-1274 errDSPQueueSize Send or receive queue is too small -116 memSCErr Size Check failed
-1275 errFwdReset Read terminated by forward reset -115 memBCErr Block Check failed
-1276 errAttention Attention message too long -114 memPCErr Pointer Check failed
-1277 errOpening Attempt to open connection failed -113 memAZErr Address in zone check failed
-1278 errState Bad connection state for this operation -112 memPurErr trying to purge a locked or non-purgeable block
-1279 errAborted Request aborted by dspRemove or dspClose function -111 memWZErr WhichZone failed (applied to free block)
-1280 errRefNum Bad connection reference number -110 memAdrErr address was odd; or out of range
-1300 fidNotFound File ID not found [No file thread exists] -109 nilHandleErr Master Pointer was NIL in HandleZone or other
-1301 fidExists File id already exists -108 memFullErr Not enough room in heap zone
-1302 notAFileErr Specified file is a directory -102 noTypeErr No object of that type in scrap
-1303 diffVolErr Files on different volumes -100 noScrapErr No scrap exists error
-1304 catChangedErr Catalog has changed and CatPosition may be invalid -99 memROZWarn soft error in ROZ
-1305 desktopDamagedErr The desktop database has become corrupted -98 portNotCf driver Open error code (parameter RAM not configured for this connection)
the Finder will fix this, but if your application is -97 portInUse driver Open error code (port is in use)
not running with the Finder, use DTReset or DTDelete -96 portNotPwr serial port not currently powered
-1700 errAECoercionFail Data could not be coerced to the -95 excessCollsns excessive collisions on write
requested descriptor type -94 lapProtErr error in attaching/detaching protocol
-1701 errAEDescNotFound Descriptor record was not found -93 noBridgeErr no network bridge for non-local send
-1702 errAECorruptData Data in an Apple event could not be read -92 ddpLenErr data length too big
-1703 errAEWrongDataType Wrong descriptor type -91 ddpSktErr error in soket number
-1704 errAENotAEDesc Not a valid descriptor record -90 breakRecd Break received (SCC)
-1705 errAEBadListItem Operation involving a list item failed -89 rcvrErr SCC receiver error (framing; parity; OR)
-1706 errAENewerVersion Need a newer version of the Apple Event Manager -88 prInitErr InitUtil found the parameter ram uninitialized
-1707 errAENotAppleEvent Event is not an Apple event -87 prWrErr parameter ram written didn't read-verify
-1708 errAEEventNotHandled Event wasnt handled by an Apple event handler -86 clkWrErr time written did not verify
-1709 errAEReplyNotValid AEResetTimer was passed an invalid reply -85 clkRdErr unable to read same clock value twice
-1710 errAEUnknownSendMode Invalid sending mode was passed -84 firstDskErr I/O System Errors
-1711 errAEWaitCanceled User canceled out of wait loop for reply -83 fmt2Err can't get enough sync
or reciept -82 fmt1Err can't find sector 0 after track format
-1712 errAETimeout Apple event timed out -81 sectNFErr sector number never found on a track
-1713 errAENoUserInteraction No user interaction allowed -80 seekErr track number wrong on address mark
-1714 errAENotASpecialFunction Wrong keyword for a special function -79 spdAdjErr unable to correctly adjust disk speed
-1715 errAEParamMissed Handler did not get all required paramters -78 twoSideErr tried to read 2nd side on a 1-sided drive
-1716 errAEUnknownAddressType Unknown Apple event address type -77 initIWMErr unable to initialize IWM
-1717 errAEHandlerNotFound No handler found for an Apple event -76 tk0BadErr track 0 detect doesn't change
or a coersion -75 cantStepErr step handshake failed
-1718 errAEReplyNotArrived Reply has not yet arrived -74 wrUnderrun write underrun occurred
-1719 errAEIllegalIndex Not a valid list index -73 badDBtSlp bad data mark bit slip nibbles
-3101 buf2SmallErr Packet too large for buffer; partial data returned -72 badDCksum bad data mark checksum
-3102 noMPPErr No MPP error -71 noDtaMkErr couldn't find a data mark header
-3103 ckSumErr Check sum error -70 badBtSlpErr bad addr mark bit slip nibbles
-3104 extractErr Extraction error -69 badCksmErr addr mark checksum didn't check
-3105 readQErr Read queue error -68 dataVerErr read verify compare failed
-3106 atpLenErr ATP length error -67 noAdrMkErr couldn't find valid addr mark
-3107 atpBadRsp ATP bad response error -66 fontSubErr font substitution occured
-3108 recNotFnd Record not found -65 fontNotDeclared font not declared
-3109 sktClosedErr Socket closed error -64 fontDecError error during font declaration
-4096 ??? No free Connect Control Blocks available -61 wrPermErr write permissions error
-4097 ??? Bad connection reference number -60 badMDBErr bad master directory block
-4098 ??? Request already active -59 fsRnErr file system internal error:during rename the old entry was deleted but could not be restored.
-4099 ??? Write request too big -58 extFSErr volume in question belongs to an external fs
-4100 ??? Connection just closed -57 noMacDskErr not a mac diskette (sig bytes are wrong)
-4101 ??? Printer not found, or closed -56 nsDrvErr no such drive (tried to mount a bad drive num)
-5000 accessDenied Incorrect access for this file/folder -55 volOnLinErr drive volume already on-line at MountVol
-5006 DenyConflict Permission/Deny mode conflicts with the current -54 permErr permissions error (on file open)
mode in which this fork is already open -53 volOffLinErr volume not on line error (was Ejected)
-5015 NoMoreLocks Byte range locking failure from Server -52 gfpErr get file position error
-5020 RangeNotLocked Attempt to unlock an already unlocked range -51 rfNumErr refnum error
-5021 RangeOverlap Attempt to lock some of an already locked range -50 paramErr error in user parameter list
-5001 afpAuthContinue AFP Authorization continue -49 opWrErr file already open with with write permission
-5002 afpBadUAM AFP Bad UAM -48 dupFNErr duplicate filename (rename)
-5003 afpBadVersNum AFP Bad version number -47 fBsyErr File is busy (delete)
-5004 afpBitmapErr AFP Bit map error -46 vLckdErr volume is locked
-5005 afpCantMove AFP Can't move error -45 fLckdErr file is locked
-5007 afpDirNotEmpty AFP Dir not empty -44 wPrErr diskette is write protected.
-5008 afpDiskFull AFP Disk full -43 fnfErr File not found
-5009 afpEofError AFP End-of-File error -42 tmfoErr too many files open
-5010 afpFileBusy AFP File busy -41 mFulErr memory full (open) or file won't fit (load)
-5011 afpFlatVo AFP Flat volume -40 posErr tried to position to before start of file (r/w)
-5012 afpItemNotFound AFP Information not found -39 eofErr End of file
-5013 afpLockErr AFP Lock error -38 fnOpnErr File not open
-5014 afpMiscErr AFP Misc error -37 bdNamErr there may be no bad names in the final system!
-5016 afpNoServer AFP No server -36 ioErr I/O error (bummers)
-5017 afpObjectExists AFP Object already exists -35 nsvErr no such volume
-5018 afpObjectNotFound AFP Object not found -34 dskFulErr disk full
-5019 afpParmErr AFP Parm error -33 dirFulErr Directory full
-5022 afpSessClosed AFP Session closed -30 dceExtErr dce extension error
-5023 afpUserNotAuth AFP User not authorized -29 unitTblFullErr unit table has no more entries
-5024 afpCallNotSupported AFP Call not supported -28 notOpenErr Couldn't rd/wr/ctl/sts cause driver not opened
-5025 afpObjectTypeErr AFP Object type error -27 abortErr IO call aborted by KillIO
-5026 afpTooManyFilesOpen AFP Too many files open -26 dInstErr DrvrInstall couldn't find driver in resources
-5027 afpServerGoingDown AFP Server going down -25 dRemovErr tried to remove an open driver
-5028 afpCantRename AFP Can't rename -24 closErr I/O System Errors
-5029 afpDirNotFound AFP Directory not found -23 openErr I/O System Errors
-5030 afpIconTypeError Size of new icon and one it replaces dont match -22 unitEmptyErr I/O System Errors
-5031 afpVolLocked Volume is Read-Only -21 badUnitErr I/O System Errors
-5032 afpObjectLocked Object is M/R/D/W inhibited -20 writErr I/O System Errors
-5500 envNotPresent SysEnvirons trap not present - returned by glue. -19 readErr I/O System Errors
-5501 envBadVers Version non-positive -18 statusErr I/O System Errors
-5502 envVersTooBig Version bigger than call can handle -17 controlErr I/O System Errors
-5550 gestaltUnknownErr Could not obtain the response -13 dsExtensionsDisabled say Extensions Disabled
-5551 gestaltUndefSelectorErr Undefined selector -12 dsHD20Installed say HD20 Startup
-5552 gestaltDupSelectorErr Selector already exists -11 dsDisassemblerInstalled say Disassembler Installed
-5553 gestaltLocationErr Function not in system heapLaserWriter Driver Errors -10 dsMacsBugInstalled say MacsBug Installed
-8132 ???? Manual Feed time out -8 seNoDB no debugger installed to handle debugger command
-8133 ???? General PostScript Error -5 SlpTypeErr invalid queue element
-8150 ???? No LaserWriter chosen *OR* No LaserPrep dictionary installed -4 unimpErr unimplemented core routine
-8151 ???? Version mismatch between LaserPrep dictionaries -3 corErr core routine number out of range
-8160 ???? Zoom scale factor out of range -2 vTypErr invalid queue element
-11000 pictInfoVersionErr Version number not zero -1 qErr queue element not found during deletion
-11001 pictInfoIDErr Invalid PictInfo ID 0 tsmComponentNoErr component result = no error
-11002 pictInfoVerbErr Invalid verb combination specified 1 EPERM Operation not permitted
-11003 cantLoadPickMethodErr Custom pick method not in resource chain 2 ENOENT No such file or directory
-11004 colorsRequestedErr Number out of range or greater than passed 3 ESRCH No such process
to NewPictInfo 4 EINTR Interrupted system call
-11005 pictureDataErr Invalid picture data 5 EIO Input/output error
-13000 pmBusyErr Power Manager IC stuck busy 6 ENXIO Device not configured
-13001 pmReplyTOErr Timed out waiting to begin reply handshake 7 E2BIG Argument list too long
-13002 pmSendStartErr Power Manager IC did not start handshake 8 ENOEXEC Exec format error
-13003 pmSendEndErr During send, Power Manager did not finish handshake 9 EBADF Bad file descriptor
-13004 pmRecvStartErr During receive, Power Manager did not start handshake 10 ECHILD No child processes
-13005 pmRecvEndErr During receive, Power Manager did not finish handshake 11 EDEADLK Resource deadlock avoided
-23000 ipBadLapErr Bad network configuration 12 ENOMEM Cannot allocate memory
-23001 ipBadCnfgErr Bad IP configuration error 13 EACCES Permission denied
-23002 ipNoCnfgErr Missing IP or LAP configuration error 14 EFAULT Bad address
-23003 ipLoadErr Error in MacTCP load 15 ENOTBLK Block device required
-23004 ipBadAddr Error in getting address 16 EBUSY Device busy
-23005 connectionClosing Connection in closing 17 EEXIST File exists
-23006 invalidLength 18 EXDEV Cross-device link
-23007 connectionExists Request conflicts with existing connection 19 ENODEV Operation not supported by device
-23008 connectionDoesntExist Connection does not exist 20 ENOTDIR Not a directory
-23009 insufficientResources Insufficient resources to perform request 21 EISDIR Is a directory
-23010 invalidStreamPtr 22 EINVAL Invalid argument
-23011 streamAlreadyOpen 23 ENFILE Too many open files in system
-23012 connectionTerminated 24 EMFILE Too many open files
-23013 invalidBufPtr 25 ENOTTY Inappropriate ioctl for device
-23014 invalidRDS 26 ETXTBSY Text file busy
-23015 openFailed 27 EFBIG File too large
-23016 commandTimeout 28 ENOSPC No space left on device
-23017 duplicateSocket 29 ESPIPE Illegal seek
-23030 ipOpenProtErr Can't open new protocol, table full 30 EROFS Read-only file system
-23031 ipCloseProtErr Can't find protocol to close 31 EMLINK Too many links
-23032 ipDontFragErr Packet too large to send w/o fragmenting 32 EPIPE Broken pipe
-23033 ipDestDeadErr Destination not responding 33 EDOM Numerical argument out of domain
-23034 ipBadWDSErr Error in WDS format 34 ERANGE Result too large
-23035 icmpEchoTimeoutErr ICMP echo timed-out 35 EAGAIN Resource temporarily unavailable
-23036 ipNoFragMemErr No memory to send fragmented pkt 36 EINPROGRESS Operation now in progress
-23037 ipRouteErr Can't route packet off-net 37 EALREADY Operation already in progress
-23041 nameSyntaxErr 38 ENOTSOCK Socket operation on non-socket
-23042 cacheFault 39 EDESTADDRREQ Destination address required
-23043 noResultProc 40 EMSGSIZE Message too long
-23044 noNameServer 41 EPROTOTYPE Protocol wrong type for socket
-23045 authNameErr 42 ENOPROTOOPT Protocol not available
-23046 noAnsErr 43 EPROTONOSUPPORT Protocol not supported
-23047 dnrErr 44 ESOCKTNOSUPPORT Socket type not supported
-23048 outOfMemory 45 EOPNOTSUPP Operation not supported on socket
46 EPFNOSUPPORT Protocol family not supported
47 EAFNOSUPPORT Address family not supported by protocol family
48 EADDRINUSE Address already in use
49 EADDRNOTAVAIL Can't assign requested address
50 ENETDOWN Network is down
51 ENETUNREACH Network is unreachable
52 ENETRESET Network dropped connection on reset
53 ECONNABORTED Software caused connection abort
54 ECONNRESET Connection reset by peer
55 ENOBUFS No buffer space available
56 EISCONN Socket is already connected
57 ENOTCONN Socket is not connected
58 ESHUTDOWN Can't send after socket shutdown
59 ETOOMANYREFS Too many references: can't splice
60 ETIMEDOUT Connection timed out
61 ECONNREFUSED Connection refused
62 ELOOP Too many levels of symbolic links
63 ENAMETOOLONG File name too long
64 EHOSTDOWN Host is down
65 EHOSTUNREACH No route to host
66 ENOTEMPTY Directory not empty
67 EPROCLIM Too many processes
68 EUSERS Too many users
69 EDQUOT Disc quota exceeded
70 ESTALE Stale NFS file handle
71 EREMOTE Too many levels of remote in path
72 EBADRPC RPC struct is bad
73 ERPCMISMATCH RPC version wrong
74 EPROGUNAVAIL RPC prog. not avail
75 EPROGMISMATCH Program version wrong
76 EPROCUNAVAIL Bad procedure for program
77 ENOLCK No locks available
78 ENOSYS Function not implemented
79 EFTYPE Inappropriate file type or format
# """Parse sys/errno.h and Errors.h and create Estr resource"""
# Create 'Estr' resource from error dictionary
from Res import * import regex
import Res import macfs
from Resources import *
import MacOS
import string import string
import Res
import os
READ = 1 READ = 1
WRITE = 2 WRITE = 2
smAllScripts = -3 smAllScripts = -3
ERRNO_PROG="#define[ \t]+" \
"\([A-Z0-9a-z_]+\)" \
"[ \t]+" \
"\([0-9]+\)" \
"[ \t]*/\*[ \t]*" \
"\(.*\)" \
"[ \t]*\*/"
ERRORS_PROG="[ \t]*" \
"\([A-Z0-9a-z_]+\)" \
"[ \t]*=[ \t]*" \
"\([-0-9]+\)" \
"[, \t]*/\*[ \t]*" \
"\(.*\)" \
"[ \t]*\*/"
def Pstring(str): def Pstring(str):
if len(str) > 255: if len(str) > 255:
raise ValueError, 'String too large' raise ValueError, 'String too large'
...@@ -18,45 +34,93 @@ def Pstring(str): ...@@ -18,45 +34,93 @@ def Pstring(str):
def writeestr(dst, edict): def writeestr(dst, edict):
"""Create Estr resource file given a dictionary of errors.""" """Create Estr resource file given a dictionary of errors."""
os.unlink(dst.as_pathname())
FSpCreateResFile(dst, 'RSED', 'rsrc', smAllScripts) Res.FSpCreateResFile(dst, 'RSED', 'rsrc', smAllScripts)
output = FSpOpenResFile(dst, WRITE) output = Res.FSpOpenResFile(dst, WRITE)
UseResFile(output) Res.UseResFile(output)
for num in edict.keys(): for num in edict.keys():
res = Resource(Pstring(edict[num])) res = Res.Resource(Pstring(edict[num][0]))
res.AddResource('Estr', num, '') res.AddResource('Estr', num, '')
res.WriteResource() res.WriteResource()
CloseResFile(output) Res.CloseResFile(output)
def parsefile(src): def writepython(fp, dict):
fp = open(src) k = dict.keys()
lines = [] k.sort()
while 1: for i in k:
x = fp.readline() fp.write("%s\t=\t%d\t#%s\n"%(dict[i][1], i, dict[i][0]))
if not x:
break
x = x[:-1] def parse_errno_h(fp, dict):
words = string.split(x) errno_prog = regex.compile(ERRNO_PROG)
if x[0] in (' ', '\t'): for line in fp.readlines():
# continuation line if errno_prog.match(line) > 0:
x = string.join(words) number = string.atoi(errno_prog.group(2))
lines[-1] = lines[-1] + ' ' + x name = errno_prog.group(1)
else: desc = string.strip(errno_prog.group(3))
x = string.join(words)
lines.append(x)
dict = {}
for line in lines:
words = string.split(line)
index = eval(words[0])
if dict.has_key(index):
print '** Duplicate key:', index
x = string.join(words[2:])
if not x:
x = words[1]
dict[index] = x
return dict
if not dict.has_key(number):
dict[number] = desc, name
else:
print 'DUPLICATE', number
print '\t', dict[number]
print '\t', (desc, name)
def parse_errors_h(fp, dict):
errno_prog = regex.compile(ERRORS_PROG)
for line in fp.readlines():
if errno_prog.match(line) > 0:
number = string.atoi(errno_prog.group(2))
name = errno_prog.group(1)
desc = string.strip(errno_prog.group(3))
if number > 0: continue
if not dict.has_key(number):
dict[number] = desc, name
else:
print 'DUPLICATE', number
print '\t', dict[number]
print '\t', (desc, name)
def main():
dict = {}
fss, ok = macfs.PromptGetFile("Where is errno.h?")
if not ok: return
fp = open(fss.as_pathname())
parse_errno_h(fp, dict)
fp.close()
fss, ok = macfs.PromptGetFile("Where is Errors.h?")
if not ok: return
fp = open(fss.as_pathname())
parse_errors_h(fp, dict)
fp.close()
if not dict:
return
fss, ok = macfs.StandardPutFile("Resource output file?", "errors.rsrc")
if ok:
writeestr(fss, dict)
fss, ok = macfs.StandardPutFile("Python output file?", "macerrors.py")
if ok:
fp = open(fss.as_pathname(), "w")
writepython(fp, dict)
fp.close()
fss.SetCreatorType('Pyth', 'TEXT')
fss, ok = macfs.StandardPutFile("Text output file?", "errors.txt")
if ok:
fp = open(fss.as_pathname(), "w")
k = dict.keys()
k.sort()
for i in k:
fp.write("%d\t%s\t%s\n"%(i, dict[i][1], dict[i][0]))
fp.close()
if __name__ == '__main__': if __name__ == '__main__':
dict = parsefile('errors.txt') main()
writeestr('errors.rsrc', dict)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment