Retrieves and clears the last generated API call error or warning message
C++ synopsis
char* simGetLastError()
Arguments
Return
Error or warning message buffer or nullptr if no error message is present. A warning starts with warning@. The user has to delete the returned buffer with a call to simReleaseBuffer