Skip to main content

WebGet error codes

These are error codes for WebGet itself and can be used to determine how it failed to retrieve the content from the server. The strikethrough error codes are obsolete and do not raise since 7.0. Any error code that is not covered here, is probably an HTTP error code returned from the web server. http://en.wikipedia.org/wiki/List_of_HTTP_status_codes

WebGet extended error codes

OS

When the error code is WEBGET_ERROR_OS (964), the extended error code will be the OS level error. To find out what a particular error refers to, please look at the documentation provided by each OS.

Network communication extended error codes

When the error code is WEBGET_ERROR_CURL (994), the extended error code will be the cUrl error code. To find out what a particular error refers to, please look at the documentation provided by libcurl error codes. The example recommended alternate error to display to users (en.json): “Network error 6: Couldn’t resolve host. Please contact support or try again later.”

Compression error codes

These are extended error codes for compression encoding. The error code returned will be WEBGET_ERROR_COMPRESSION (960).

JSON error codes

These are extended error codes for json decoding. The error code returned will be WEBGET_ERROR_JSON (987).

Storage error codes

These are extended error codes for repository storage handlers. The error code returned will be WEBGET_ERROR_STORAGE (989).