MCPcopy Index your code
hub / github.com/dataease/SQLBot / generateError

Function generateError

frontend/public/swagger-ui-bundle.js:33073–33082  ·  view source on GitHub ↗
(s, o)

Source from the content-addressed store, hash-verified

33071 (this.firstTabInLine = -1),
33072 (this.documents = []))
33073 }
33074 function generateError(s, o) {
33075 var i = {
33076 name: s.filename,
33077 buffer: s.input.slice(0, -1),
33078 position: s.position,
33079 line: s.line,
33080 column: s.position - s.lineStart,
33081 }
33082 return ((i.snippet = rr(i)), new tr(o, i))
33083 }
33084 function throwError(s, o) {
33085 throw generateError(s, o)

Callers 2

throwErrorFunction · 0.85
throwWarningFunction · 0.85

Calls 1

rrFunction · 0.70

Tested by

no test coverage detected