GetError
Gets the error message from the message.
Syntax
string getError()
UnicodeString getError()
Parameters
None.
Results
Returns the error message in message
Example
String error = message->getError();
UnicodeString error = message->getError();