From iMacros
Jump to: navigation, search

The built-in variable retrieves the last HTTP error code that is status code >=400 (client errors). Since the macro stops when navigation error occurs, the variable can only be retrieved if !ERRORIGNORE has been set to YES before the navigation started.

The variable is supported in iMacros as of version 11.5.

Value iMacros Browser IE Plug-in

Last navigation error >= 400 (HTTP errors).

Set By

[X] Internal

[ ] SET

Internal means that the iMacros program itself sets the value of the variable during program run. SET means that the user can set this value via the SET command inside a macro.

Tip: Use the SET !ERRORIGNORE YES parameter to be able to retrieve the !HTTP_ERRORCODE variable:


URL GOTO=http://demo.imacros.net/ForceDirectedGraph.aspx
prompt {{!HTTP_ERRORCODE}}

See Also

List of HTTP status codes, Error Handling, !ERRORIGNORE, URL