Regular API function

simGetLastError

Description Retrieves the last generated API call error or warning message. By calling this function, the last message is cleared and a subsequent call to this function returns nullptr. See also simSetLastError, sim.getStackTraceback.
C/C++
synopsis
simChar* simGetLastError()
C/C++
parameters
C/C++
return value
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
Lua synopsis
Lua parameters
Lua return values
Python synopsis