MCPcopy Index your code
hub / github.com/plotly/dash / refErr

Function refErr

dash/dash-renderer/src/actions/callbacks.ts:220–229  ·  view source on GitHub ↗
(errors: any, paths: any)

Source from the content-addressed store, hash-verified

218}
219
220function refErr(errors: any, paths: any) {
221 const err = errors[0];
222 if (err.indexOf('logged above') !== -1) {
223 // Wildcard reference errors mention a list of wildcard specs logged
224 // TODO: unwrapped list of wildcard ids?
225 // eslint-disable-next-line no-console
226 console.error(paths.objs);
227 }
228 throw new ReferenceError(err);
229}
230
231const getVals = (input: any) =>
232 Array.isArray(input) ? pluck('value', input) : input.value;

Callers 2

fillValsFunction · 0.85
executeCallbackFunction · 0.85

Calls 2

indexOfMethod · 0.80
errorMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…