Skip to content

ReportFatalError - cLocalWebControlHost

Called when a fatal error occurs while parsing a request received from the page

Type: Procedure

Parameters

Parameter Type Description
usStatusCode UShort HTTP Status Code
sReason String Short Reason
usStatusSubCode UShort HTTP Sub Status Code
sDescription String Error Descirption

Syntax

Procedure ReportFatalError UShort usStatusCode String sReason UShort usStatusSubCode String sDescription

Call Example

Send ReportFatalError usStatusCode sReason usStatusSubCode sDescription

Description

The web control host receives web messages from the page and parses these.

Errors while parsing the content can be fatal for the request. This message is sent when that happens.

The default implementation converts this into a DataFlex error.