MCPcopy Create free account
hub / github.com/Snapchat/Valdi / onError

Method onError

compiler/companion/src/utils/TextParser.ts:22–24  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

20 }
21
22 private onError(message: string): never {
23 throw new Error(`At ${this.debugPositionString()}: ${message}`);
24 }
25
26 isAtEnd(): boolean {
27 return this.position >= this.text.length;

Callers 2

parseMethod · 0.95
parseIdentifierMethod · 0.95

Calls 1

debugPositionStringMethod · 0.95

Tested by

no test coverage detected