$errnumA number indicating the severity and type of the error. There are several classes of errors:
$errscriptThe URL path of the Vortex script, or the module name in square brackets, where the error occurred.
$errlineThe source line in the script or module where the error occurred.
$errmsgA text message describing the error.
C(not Vortex) function where the error occurred; empty ("") if unknown. This is useful for technical support.
$errvfuncThe Vortex function where the error occurred; empty if unknown.
These variables may have several values, if more than one error
occurrs at a time. The variables are reset each time
putmsg function just saves all the messages
until another function is called to print them out:
<A NAME=putmsg PRIVATE>
<$savnum = $savnum $errnum>
<$savmsg = $savmsg $errmsg>
<$savline = $savline $errline>
The following function can then be called at an appropriate point
to print out the errors, such as at the end of the script, or after
<TABLE> has been completed:
<A NAME=flushmsg PRIVATE>
<LOOP $savnum $savmsg $savline>
<CASE lt 100>
<CASE lt 200>
<CASE lt 300>
At line $savline: $savmsg <BR>
<$savnum = > <$savmsg = > <$savline = >
By caching the messages, errors can be kept from breaking up the script's desired HTML output, yet still be printed to the user if desired. Or certain errors can be ignored altogether, such as when fetching pages from a site that might be down.