The consoleLib.errorWindow system variable holds the Console UI window variable that represents the window where an error message from consoleLib.displayError() is shown.
Type: Window
In the following example, the program creates a custom window to display error messages:
errWindow WINDOW {
name="CustErrWindow",
position = [7,7],
size = [5,60],
hasborder=yes
};
consoleLib.errorWindow = errWindow;