rmlGetLastError
Returns a null-terminated string containing the error message of the last operation. Can be called after some operation returns NULL
or a status other than RML_OK
.
The error message is owned by the library and must NOT be freed by a client. The message is stored in a thread local storage, so this function should be called from the thread where the failure occured.
const char* rmlGetLastError(); |
API
Main
Return
Returns a pointer to the formatted message, in ASCII-encoding.