|
|||||
function | HttpObjectIsInError |
Related Syntax | Other Library Functions |
Library: HTTP
Include: omtcp.xin, omhttp.xin |
Returns: Boolean
Returns an active switch value if an error report is available. |
define switch function HttpObjectIsInError read-only stream HttpObject
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
---- |