IsRequestError

Checks if there is a request error condition present on the Content Server by evaluating the StatusCode variable.

If StatusCode is set to a negative numeric value (-1), there is a request error condition present on the Content Server.

The typical behavior when a request error condition is present is to abort the display of the current page and substitute an error page. See abortToErrorPage.

Type and Usage

Output

  • Returns TRUE if there is a request error condition present on the Content Server (StatusCode = -1).

  • Returns FALSE if there is no request error condition present on the Content Server (StatusCode is other than a negative numeric value).

Example

Evaluates the request error condition:

<$IsRequestError$>

See Also