MCPcopy Create free account
hub / github.com/denoland/std / error

Function error

xml/_parse_sync.ts:171–173  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

169 }
170
171 function error(message: string): never {
172 throw new XmlSyntaxError(message, computePosition(pos));
173 }
174
175 function errorUnterminated(message: string): never {
176 pos = len;

Callers 11

pullMethod · 0.85
cancelMethod · 0.85
errorUnterminatedFunction · 0.85
parseDTDInternalSubsetFunction · 0.85
parseEntityDeclarationFunction · 0.85
parseQuotedLiteralFunction · 0.85
readQuotedValueFunction · 0.85
readTextFunction · 0.85
parseSyncFunction · 0.85

Calls 1

computePositionFunction · 0.85

Tested by

no test coverage detected