Re: Error Types
Re: Error Types
- Subject: Re: Error Types
- From: kai <email@hidden>
- Date: Fri, 13 May 2005 20:37:01 +0100
On Friday, May 13, 2005, at 07:45 pm, John Baltutis wrote:
On 05/13/05, "Gary (Lists)" <email@hidden> wrote:
"kai" wrote:
Apple:
Mac OS System Error Codes: -299 to -5553:
http://docs.info.apple.com/article.html?artnum=9804
Mac OS System Error Codes: 0 to -261:
http://docs.info.apple.com/article.html?artnum=9805
Mac OS System Error Codes: 1 to 32767:
http://docs.info.apple.com/article.html?artnum=9806
The only problem with those is that it states: OS 9 or earlier, with no
indication that they're carried over to OS X.
I was aware of that note - and checked a number of entries before
posting. A selection from artnum=9805 (error codes 0 to -261), for
example, gives us:
---------------
-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 Attempt to open 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
---------------
And from my MacErrors.h file:
---------------
controlErr = -17, /*I/O System Errors*/
statusErr = -18, /*I/O System Errors*/
readErr = -19, /*I/O System Errors*/
writErr = -20, /*I/O System Errors*/
badUnitErr = -21, /*I/O System Errors*/
unitEmptyErr = -22, /*I/O System Errors*/
openErr = -23, /*I/O System Errors*/
closErr = -24, /*I/O System Errors*/
dRemovErr = -25, /*tried to remove an open driver*/
dInstErr = -26, /*DrvrInstall couldn't find driver in resources*/
abortErr = -27, /*IO call aborted by KillIO*/
iIOAbortErr = -27, /*IO abort error (Printing Manager)*/
notOpenErr = -28, /*Couldn't rd/wr/ctl/sts cause driver not opened*/
unitTblFullErr = -29, /*unit table has no more entries*/
dceExtErr = -30, /*dce extension error*/
---------------
Such a comparison seemed a fair indication to me that the codes (or
certainly a reasonable proportion of them) have been carried over to OS
X.
I suggested the online documents as a reference since, as can be seen
from some of the entries above, they may sometimes offer a little more
information than the MacErrors.h items listed here.
---
kai
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden