sGetScriptError (server-side)
Use this routine to format particular properties of a Microsoft Visual Basic Scripting Edition (VBScript) Err object into an HTML table. The table includes the following property values from the object, in the order shown: number, description, source, helpFile, and helpContext. The table is returned as an HTML-formatted string. This routine is typically called to construct a string to use as the sErrorDetail parameter of the routine SetError.
Definition
sGetScriptError(oErr)
Parameters
oErr
The VBScript Err object to be formatted.
Return Value
A string containing the HTML that displays the formatted table.
Remarks
The following is an example of the table to be displayed.
Script Error | |
Number | 0x345 |
Description | xxx |
Source | xxx |
Help file | xxx |
Help context | xxx |
This routine is available in the include file ASPUtil.asp.
There is a functionally equivalent version of this routine defined for client-side use in the file ActionPageUtil.asp.