$WBErrMsg is available for use with error template file, processed by WBSP in case of a run-time error.
Text-only error description without error number.
Here's an example of an
error template file:
Error in /wbsp/basic/delete.wbspThe following internal error has occurred:
Please note what you were doing when this problem occurred, so we can identify and correct it. Write down the Web page you were using, any data you may have entered into a form or search box, and anything else that may help us duplicate the problem.Then contact the administrator of this service: <webmaster@localhost>