HttpObjectIsInError
Full Description
swirl
Syntax
  define switch function HttpObjectIsInError
     read-only stream HttpObject


Purpose

This function determines if an error was encountered during the last function called with the specified HTTP object. It can occur in either a client or a server program.

Input argument:

  • "HttpObject" -- an HTTP request or HTTP response object.

Example:

  ; HttpObjectIsInError

  local HttpRequest my-Request
  local HttpResponse my-Response

  output "http Error Detected"
     when HttpObjectIsInError my-Request or HttpObjectIsInError my-Response

Copyright © OmniMark Technologies Corporation, 1988-1998.