Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
parse
Method · 0.95
parseIdentifier
Method · 0.95
Calls
1
debugPositionString
Method · 0.95
Tested by
no test coverage detected