Sets a custom error message and possibly raises a script error
int simSetLastError(const char* setToNull, const char* errorMessage)
See also: