MCPcopy Index your code
hub / github.com/bugy/script-server / UPDATE_PARAMETER_ERROR

Function UPDATE_PARAMETER_ERROR

web-src/src/main-app/store/scriptSetup.js:143–149  ·  view source on GitHub ↗
(state, {parameterName, errorMessage})

Source from the content-addressed store, hash-verified

141 }
142 },
143 UPDATE_PARAMETER_ERROR(state, {parameterName, errorMessage}) {
144 if (isEmptyString(errorMessage)) {
145 delete state.errors[parameterName];
146 } else {
147 state.errors[parameterName] = errorMessage;
148 }
149 },
150 SET_NEXT_RELOAD_VALUES(state, nextReloadValues) {
151 state.nextReloadValues = nextReloadValues;
152 },

Callers

nothing calls this directly

Calls 1

isEmptyStringFunction · 0.90

Tested by

no test coverage detected