Method HttpClient():getLastError() Foundation

Returns the numeric value of the last error.

Syntax
 
:getLastError() --> nErrorCode
Return

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

Description

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.

Feedback

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.