swirl Guide to OmniMark 5   OmniMark home
docs home 
IndexConceptsTasksSyntaxLibrariesOMX VariablesErrors
 
  Related Syntax     Other Library Functions  
function   HttpObjectIsInError    

Library: omhttp - HTTP support
Include: omhttp.xin
Return type: Boolean
Returns:       

Returns an active switch value if an error report is available.


Declaration

  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:

Example:

  ; HttpObjectIsInError

  local HttpRequest my-Request
  local HttpResponse my-Response

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

    Related Syntax
   HttpObjectGetStatusReport
 
  Other Library Functions
   HttpConnectionSendResponse
   HttpLibraryVersion
   HttpObjectGetCookieAttributes
   HttpObjectGetCookieValues
   HttpObjectGetHeaders
   HttpObjectGetStatusReport
   HttpObjectIsInError
   HttpObjectSetCookieAttribute
   HttpObjectSetCookieValue
   HttpObjectSetHeader
   HttpRequestGetSearchItems
   HttpRequestSend
   HttpRequestSetFromUrl
   HttpRequestSetProxy
   HttpRequestSetSearchItem
   HttpResponseOutput
   HttpServiceAwaitRequest
 
----  

Top [ INDEX ] [ CONCEPTS ] [ TASKS ] [ SYNTAX ] [ LIBRARIES ] [ OMX ] [ OMX ] [ ERRORS ]

Generated: August 11, 2000 at 3:07:20 pm
If you have any comments about this section of the documentation, send email to docerrors@omnimark.com

Copyright © OmniMark Technologies Corporation, 1988-2000.