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

Method #error

xml/_tokenizer.ts:349–356  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

347 }
348
349 #error(message: string): never {
350 throw new XmlSyntaxError(
351 message,
352 this.#trackPosition
353 ? { line: this.#line, column: this.#column, offset: this.#offset }
354 : NO_POSITION,
355 );
356 }
357
358 #isIllegalLiteralChar(code: number): boolean {
359 return isIllegalXmlLiteralChar(code, this.#xml11);

Callers 11

#flushTextMethod · 0.95
#processEntityKeywordMethod · 0.95
#emitDeclarationMethod · 0.95
#captureTextMethod · 0.95
#captureCommentMethod · 0.95
#capturePIMethod · 0.95
#captureCDATAMethod · 0.95
processMethod · 0.95
finalizeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected