Method Html3():prgError() Professional

Error handling for runtime errors on PRG code level.

Syntax
:prgError( oError, oContext ) --> cHTML
Parameters
<oError>
<oError> is the object of the class Error.
<oContext>
<oContext> is the object of the class Context.
Return

The method returns a HTML formated string with details about the Runtime error.

Description

This method is called when a runtime error occurs (PRG code level). The method must return a HTML formatted string containing error information. By default, the file WAA1ERR.HTM is used as HTML template and filled with error information. The HTML code returned by :prgError()is forwarded to the Web browser.

The WAA server passes two parameters to this method: an Error object containing the error information and a COntext object. The latter can be used to send an e-mail to the Web administrator via :sendMail()(see User-defined error messagesfor more information on this topic).

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.