revXMLRPC_Error

Typefunction
DictionaryLCS
LibraryLiveCode Script
Syntax
revXMLRPC_Error(<XMLRPCdocumentID>)
Associationsxml-rpc library
Summary

If an error occurred during the execution of an XML-RPC request, this function returns the error.

Introduced2.5
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Parameters
NameTypeDescription
XMLRPCdocumentID

The number returned by the revXMLRPC_CreateRequest function when you created the XML-RPC request.

Example
local tError
put revXMLRPC_Error(tRequest) into tError
Values
NameTypeDescription
return

If the revXMLRPC_Error function encounters an error, it returns an error message starting with "xmlrpcerr" .. If no error was encountered during the execution of the XML-RPC request, you can retrieve the XML-RPC document ID of the response, by calling the revXMLRPC_GetResponse function.

RelatedGlossary: LiveCode custom library, Standalone Application Settings, standalone application, function, XML-RPC
Function: revXMLRPC_GetResponse
Library: XML-RPC library
Securitydisk, process
Description

Use the revXMLRPC_Error function to check if an error occurred during the execution of an XML-RPC request.

Tagsnetworking