MCPcopy Create free account
hub / github.com/objectivehtml/FlipClock / constructor

Method constructor

src/helpers/parser.js:7–13  ·  view source on GitHub ↗
(message, expected, found, location)

Source from the content-addressed store, hash-verified

5
6class peg$SyntaxError extends SyntaxError {
7 constructor(message, expected, found, location) {
8 super(message);
9 this.expected = expected;
10 this.found = found;
11 this.location = location;
12 this.name = "SyntaxError";
13 }
14
15 format(sources) {
16 let str = "Error: " + this.message;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected