Occurs when the processing of a WebClass object is terminated due to an error.
Syntax
Private Sub object_FatalErrorResponse(senddefault As Boolean)
The FatalErrorResponse event syntax has these parts:
Part | Description |
object | An object expression that evaluates to an object in the Applies To list. |
senddefault | When set to True, senddefault signals that the default Active Server Pages error message should be returned to the browser. If the WebClass object writes its own message, senddefault should be set to False to prevent default processing. |
Remarks
If the WebClass is terminated and you choose to write your own error message, such as
senddefault=false
then the code to write the message must be placed inside this event.
Any Visual Basic error or terminal error will cause a FatalErrorResponse event.