Gets the library global error message.
const char* leGetErrorMessage();
const char* msg - the error message