Where is a definition/listing of all ERROR CODES

User discussion and information resource forum for Image products.
tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

Re: Where is a definition/listing of all ERROR CODES

Post by tas3086 »

All your programs seem to pass a return code that matches the error code reported in the log. Automated recovery actions can and are being made based on this return code. If, as you say. that the return codes are just generic numbers, and have no relationship to the problem that it relates to, then I would suggest that you design your programs to pass a return code to the calling program that has some meaning that is related to the text in the log. I hope that you did not mean what you said: "knowing the generic numbers won't help much, you can get the same generic code but not know what it relates to."

And These codes need to be published.
TeraByte Support
Posts: 3598
Joined: Thu May 05, 2011 10:37 pm

Re: Where is a definition/listing of all ERROR CODES

Post by TeraByte Support »

The codes themselves will stay the same, but they have no real meaning
without context which the description gives. Codes like ERROR_OPEN,
ERROR_CLOSE, ERROR_READ, etc.. have no meaning without knowing the file
which the log gives. ERROR_DEVICE, ERROR_DEVICE_READ, ERROR_DEVICE_WRITE
also have no meaning if you don't know the device. ERROR_NOT_FOUND doesn't
mean anything unless knowing what wasn't found. The error codes are the
same for all products (only very old may have something different) as well,
they are not product specific (except those above 199) and may be a
condition reported deep in to the common libraries.

You can use the sample batch file 1 which has a list of common errors via
http://www.terabyteunlimited.com/downloads-image-for-windows.htm and can
test other conditions (pass bad parameters, etc..) you wan to recovery from
and look in the log to find what it was. Treat unknown (non-zero) as an
error that can't be recovered.


"tas3086" wrote in message news:10610@public.image...

All your programs seem to pass a return code that matches the error code
reported in the log. Automated recovery actions can and are being made
based on this return code. If, as you say. that the return codes are just
generic numbers, and have no relationship to the problem that it relates to,
then I would suggest that you design your programs to pass a return code to
the calling program that has some meaning that is related to the text in the
log. I hope that you did not mean what you said: "knowing the generic
numbers won't help much, you can get the same generic code but not know what
it relates to."

And These codes need to be published.

tas3086
Posts: 317
Joined: Mon Mar 19, 2012 6:15 pm

Re: Where is a definition/listing of all ERROR CODES

Post by tas3086 »

Time to revive this old request.

I just received an error code 6. Sure, I can see the text in the log, and, I can now program an automated recovery action for it .... but it would be very nice to have done this all at once, in the beginning, rather than have to recode each exception as it happens.

Can't we just get a list of the standard error numbers, and what the associated text is?

( sorry to keep beating a dead horse )
TeraByte Support
Posts: 3598
Joined: Thu May 05, 2011 10:37 pm

Re: Where is a definition/listing of all ERROR CODES

Post by TeraByte Support »

this batch script (the .cmd file) has many, including 6:
http://www.terabyteunlimited.com/downloads/ifwbatv2.zip


"tas3086" wrote in message news:11383@public.image...

Time to revive this old request.

I just received an error code 6. Sure, I can see the text in the log, and,
I can now program an automated recovery action for it .... but it would be
very nice to have done this all at once, in the beginning, rather than have
to recode each exception as it happens.

Can't we just get a list of the standard error numbers, and what the
associated text is?

( sorry to keep beating a dead horse )

Post Reply