$WBErrDesc - full error description

Availability
$WBErrDesc is available for use with error template file, processed by WBSP in case of a run-time error.

Syntax
$WBErrDesc
$WBErrDesc[]

Returns
Full error description including error message and error number.

Here's an example of an error template file:

<html>
<head>
<title>Sorry!</title>
</head>
<body>
$wberrdesc
</body>
</html>

When error occurs, instead of showing the default error report:

Error in /wbsp/basic/delete.wbsp

The following internal error has occurred:
Illegal unique identifier! Query returned more than one record!
Error Number = 5014

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>

WBSP will display following:
Illegal unique identifier! Query returned more than one record!
Error Number = 5014