![]() |
![]() |
![]() |
![]() |
err_handler
Synopsis
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;
};Description
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..
Input
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.
Output Port
![]() |
![]() |
![]() |
![]() |