|
||||||||||
|
||||||||||
Related Syntax | Other Library Functions |
function | HttpObjectIsInError |
Available in:
Enterprise Professional |
Library: omhttp - HTTP support
Include: omhttp.xin |
Return type: Boolean Returns: Returns an active switch value if an error report is available. |
define switch function HttpObjectIsInError read-only stream HttpObject
where
Use HttpObjectIsInError to determine 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.
You must include the following line at the beginning of your OmniMark program:
include "omhttp.xin"
; HttpObjectIsInError include "omhttp.xin" process local HttpRequest my-Request local HttpResponse my-Response output "http Error Detected" when HttpObjectIsInError my-Request or HttpObjectIsInError my-Response
---- |