You can use the
consoleLib.displayError() system
function to perform the following actions, in order:
- Create
an error window.
- Display that window on top of any other windows.
- Display the specified message in that window.
- On some
platforms, ring the terminal bell.
The error window
closes when one of the following events occurs:
- The program
calls the consoleLib.hideErrorWindow() function.
- The user presses any key.