messages top-level constant
Implementation
const messages = {
errorWrongTagCharacter: "Wrong tag name character: {{char}}",
errorEmptyTagName: "Empty tag name",
errorTagMalformed: "Tag malformed",
errorWrongCharacterGiven:
"Wrong character given: \"{{char}}\". \"{{await}}\" awaits",
errorSourceDocumentMalformed: "Source document malformed",
errorWrongCloseTag: "Wrong close tag: {{tag}}",
errorAttrNameEmpty: "Attribute malformed: empty name",
errorAttrValueEmpty: "Attribute malformed: empty value",
errorAttrValueMalformed:
"Attribute value malfromed: the attribute value should be a string",
errorUnexpectedEos: "Unexpected end of source",
errorEndOfTag: "Unexpected end of tag \"{{tag}}\" ({{line}}:{{symbol}})",
};