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

Function getSourceInfoErrorAddendum

dash/deps/react@18.2.0.js:2103–2111  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

2101 }
2102
2103 function getSourceInfoErrorAddendum(source) {
2104 if (source !== undefined) {
2105 var fileName = source.fileName.replace(/^.*[\\\/]/, '');
2106 var lineNumber = source.lineNumber;
2107 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
2108 }
2109
2110 return '';
2111 }
2112
2113 function getSourceInfoErrorAddendumForProps(elementProps) {
2114 if (elementProps !== null && elementProps !== undefined) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…