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

Method toString

hi_scripting/scripting/scriptnode/api/DspNetwork.cpp:2096–2111  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2094}
2095
2096String ScriptnodeExceptionHandler::Item::toString(const String& customErrorMessage) const
2097{
2098 if (node == nullptr || error.error == Error::OK)
2099 return {};
2100 else
2101 {
2102 String s;
2103 s << node->getCurrentId() << " - ";
2104
2105 if (customErrorMessage.isNotEmpty())
2106 s << customErrorMessage;
2107 else
2108 s << getErrorMessage(error);
2109 return s;
2110 }
2111}
2112
2113bool ScriptnodeExceptionHandler::isOk() const noexcept
2114{

Callers 15

setModeMethod · 0.45
updateModeMethod · 0.45
addDummyNodeCallbacksMethod · 0.45
updateParametersMethod · 0.45
addParameterCodeMethod · 0.45
dataAddedOrRemovedMethod · 0.45
rebuildComboBoxItemsMethod · 0.45
getEmptyTextMethod · 0.45
getEmptyTextMethod · 0.45
recompiledOkMethod · 0.45
getEmptyTextMethod · 0.45

Calls 3

getErrorMessageFunction · 0.85
getCurrentIdMethod · 0.80
isNotEmptyMethod · 0.45

Tested by

no test coverage detected