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

Function getSourceInfoErrorAddendum

dash/deps/react@16.14.0.js:1743–1751  ·  view source on GitHub ↗
(source)

Source from the content-addressed store, hash-verified

1741 }
1742
1743 function getSourceInfoErrorAddendum(source) {
1744 if (source !== undefined) {
1745 var fileName = source.fileName.replace(/^.*[\\\/]/, '');
1746 var lineNumber = source.lineNumber;
1747 return '\n\nCheck your code at ' + fileName + ':' + lineNumber + '.';
1748 }
1749
1750 return '';
1751 }
1752
1753 function getSourceInfoErrorAddendumForProps(elementProps) {
1754 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…