MCPcopy Create free account
hub / github.com/angular/angular / _unknownEntityErrorMsg

Function _unknownEntityErrorMsg

packages/compiler/src/ml_parser/lexer.ts:121–123  ·  view source on GitHub ↗
(entitySrc: string)

Source from the content-addressed store, hash-verified

119}
120
121function _unknownEntityErrorMsg(entitySrc: string): string {
122 return `Unknown entity "${entitySrc}" - use the "&#<decimal>;" or "&#x<hex>;" syntax`;
123}
124
125function _unparsableEntityErrorMsg(type: CharacterReferenceType, entityStr: string): string {
126 return `Unable to parse entity "${entityStr}" - ${type} character reference entities must end with ";"`;

Callers 1

_consumeEntityMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected