MCPcopy Create free account
hub / github.com/christophhart/HISE / getErrorMessage

Method getErrorMessage

hi_scripting/scripting/api/ScriptingApiObjects.cpp:9392–9405  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9390}
9391
9392String ScriptingObjects::ScriptErrorHandler::getErrorMessage() const
9393{
9394 auto el = getCurrentErrorLevel();
9395
9396 if (el == -1)
9397 return {};
9398
9399 auto m = customErrorMessages[el];
9400
9401 if (m.isNotEmpty())
9402 return m;
9403
9404 return getScriptProcessor()->getMainController_()->getOverlayTextMessage((OverlayMessageBroadcaster::State)el);
9405}
9406
9407int ScriptingObjects::ScriptErrorHandler::getNumActiveErrors() const
9408{

Callers 11

loadAsObjectMethod · 0.45
extractZipFileMethod · 0.45
createPathMethod · 0.45
getIndexForEventMethod · 0.45
killVoicesAndCallMethod · 0.45
callLogMethod · 0.45
runMethod · 0.45
processMethod · 0.45
sendUpdateMessageMethod · 0.45
setUpdateCallbackMethod · 0.45

Calls 3

getOverlayTextMessageMethod · 0.80
getMainController_Method · 0.80
isNotEmptyMethod · 0.45

Tested by

no test coverage detected