[ Index ]
[ Bottom ]
Error v1
Error, a simple error handling library.
This library comprises a set of easy to use functions for flexible
error handling. It should mainly allow:
=> creation & formatting of error messages with one function.
=> error number handling (custom, fatal, warning etc).
=> functions to get number and message of the most recent error.
=> redirection of the error message output stream also to a
log file or a dialog window.
Note: some functionality is not yet implemented but this can
be done later without changing the error set routines.
The error handling here is similar to the standard UNIX one e.g.
the error message and number is only valid after an error status
was detected. By default the message is print to standard output.
Note: the maximum lenght of an error message is Error_MESSAGE_SIZE
(currently 255 bytes).
The error handling functions are more or less self explanatory.
Have a look to the hyperlinked example and test file ErrorTest.c
and run this program: $COMMONBIN/ErrorTest.
[ Index ]
[ Top ]
Created 25/02/97 11:55 by
source2html v0.9