interfaces to ERR package to redirect error information to a string object
module err_handler{
boolean+read+notify enabled;
string+write err_message;
int+write num_lines;
};
err_handler is used to redirect error information from the ERR package into a V string. When an error occurs, it is placed in the err_message string object and all methods that need to be notified when err_message changes are run synchronously. In this situation, the num_lines output parameter contains the number of newlines in the error message.
The system only allows a single error handler to intercept error messages at one time. If you have more than err_handler module active, you should make sure that only one is enabled at a time. By default, the NetworkEditor contains an instance of the err_handler module. You should disable this module before trying to intercept errors on your own.
If this parameter is true, error messages are redirected to err_message string. When it is false, errors go to another error handler or to the console if no other error handlers are installed.
Contains the string for the most recently generated error message. This string is replaced by each new error message.
The number of newline characters in the current err_message parameter.