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

Method getErrorMessage

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

Source from the content-addressed store, hash-verified

2034
2035
2036String DeprecationChecker::getErrorMessage(int id)
2037{
2038 switch ((DeprecationId)id)
2039 {
2040 case DeprecationId::ConverterNotIdentity:
2041 return "The Converter is not identity\n(use the control.xfader instead)";
2042 case DeprecationId::OpTypeNonSet:
2043 return "The OpType is not SetValue\n(use control.pma instead)";
2044 default:
2045 break;
2046 }
2047
2048 return {};
2049}
2050
2051void DeprecationChecker::throwIf(DeprecationId id)
2052{

Callers 15

wasCompiledMethod · 0.45
createMessageListMethod · 0.45
updateCodeMethod · 0.45
paintMethod · 0.45
rebuildMethod · 0.45
getBoundsToDisplayMethod · 0.45
getLastTestExceptionMethod · 0.45
runTestMethod · 0.45
createAsciiDiffMethod · 0.45
prepareTestMethod · 0.45

Calls 3

getErrorMessageFunction · 0.85
StringClass · 0.50
toStringMethod · 0.45

Tested by 5

getLastTestExceptionMethod · 0.36
runTestMethod · 0.36
createAsciiDiffMethod · 0.36
prepareTestMethod · 0.36