[ Index ]
[ Bottom ]
Error v1.5
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.
If you program runs in the standard KLOE environment and the
run control is running, the message is sent to the run control and
shown on the operator interface.
Note: the maximum lenght of an error message is Error_MESSAGE_SIZE
(currently 1024 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 10/11/99 15:46 by
source2html v0.9