Method HttpClient():getLastError() Foundation

Returns the numeric value of the last error.

:getLastError() --> nErrorCode

:getLastError() returns a numeric error code of the operating system level.


The method :getLastError() is used to retrieve the numeric code of the last error that occured when sending a request via :send() or :sendAsync().

The last error code reflects errors that occured within the operating system level.


If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.