MCPcopy Create free account
hub / github.com/andylei/paperbox / createSourceCodeErrorMessage

Function createSourceCodeErrorMessage

JSXTransformer.js:87–114  ·  view source on GitHub ↗

* This method returns a nicely formated line of code pointing to the exact * location of the error `e`. The line is limited in size so big lines of code * are also shown in a readable way. * * Example: * ... x', overflow:'scroll'}} id={} onScroll={this.scroll} class=" ... * ^ * * @param {str

(code, e)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

transformCodeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected