MCPcopy Create free account
hub / github.com/codemix/graph / peg$buildSimpleError

Function peg$buildSimpleError

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

Source from the content-addressed store, hash-verified

2490 }
2491
2492 function peg$buildSimpleError(message, location) {
2493 return new peg$SyntaxError(message, null, null, location);
2494 }
2495
2496 function peg$buildStructuredError(expected, found, location) {
2497 return new peg$SyntaxError(

Callers 1

errorFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected