Navigation: Advanced topics > Programming topics > REST API Connections > RestConnection class > RestConnection Methods
Returns last error message
Syntax
lastError()
Arguments
no arguments
Return value
string. text description of an error.
When the server returns an error, the message shows all data returned from the server, HTTP header and response body.
Example