MCPcopy Create free account
hub / github.com/codemix/graph / error

Function error

packages/graph/src/grammar.js:2384–2390  ·  view source on GitHub ↗
(message, location)

Source from the content-addressed store, hash-verified

2382 }
2383
2384 function error(message, location) {
2385 location = location !== undefined
2386 ? location
2387 : peg$computeLocation(peg$savedPos, peg$currPos);
2388
2389 throw peg$buildSimpleError(message, location);
2390 }
2391
2392 function peg$getUnicode(pos = peg$currPos) {
2393 const cp = input.codePointAt(pos);

Callers

nothing calls this directly

Calls 2

peg$computeLocationFunction · 0.85
peg$buildSimpleErrorFunction · 0.85

Tested by

no test coverage detected