![]() |
APIs, concepts, guides, and more
|
|
static |
rsiObject | Pointer to the RapidCodeObject to check for errors. |
std::runtime_error | Thrown if any non-warning errors are encountered in the error log of the RapidCodeObject. {
bool hasErrors = false;
std::string errorStrings("");
while (rsiObject->ErrorLogCountGet() > 0)
{
errorStrings += err->what();
errorStrings += "\n";
if (!err->isWarning)
{
hasErrors = true;
}
}
if (hasErrors)
{
throw std::runtime_error(errorStrings.c_str());
}
}
|
Definition at line 200 of file SampleAppsHelper.h.