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

Method addError

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

Source from the content-addressed store, hash-verified

2123}
2124
2125void ScriptnodeExceptionHandler::addError(NodeBase* n, Error e, const String& errorMessage)
2126{
2127 customErrorMessage = errorMessage;
2128
2129 for (auto& i : items)
2130 {
2131 if (i.node == n)
2132 {
2133 i.error = e;
2134 return;
2135 }
2136 }
2137
2138 items.add({ n, e });
2139
2140 errorBroadcaster.sendMessage(sendNotificationAsync, n, e);
2141}
2142
2143void ScriptnodeExceptionHandler::removeError(NodeBase* n, Error::ErrorCode errorToRemove)
2144{

Callers 12

prepareMethod · 0.45
reinitFaustWrapperMethod · 0.45
buttonClickedMethod · 0.45
checkValidContextMethod · 0.45
prepareNodesMethod · 0.45
updateChannelsMethod · 0.45
prepareMethod · 0.45
createFromValueTreeMethod · 0.45
checkIdMethod · 0.45
throwIfMethod · 0.45
updateFrozenStateMethod · 0.45

Calls 2

addMethod · 0.45
sendMessageMethod · 0.45

Tested by

no test coverage detected