error-codes.js 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. export var ERR;
  2. (function (ERR) {
  3. ERR["controlCharacterInInputStream"] = "control-character-in-input-stream";
  4. ERR["noncharacterInInputStream"] = "noncharacter-in-input-stream";
  5. ERR["surrogateInInputStream"] = "surrogate-in-input-stream";
  6. ERR["nonVoidHtmlElementStartTagWithTrailingSolidus"] = "non-void-html-element-start-tag-with-trailing-solidus";
  7. ERR["endTagWithAttributes"] = "end-tag-with-attributes";
  8. ERR["endTagWithTrailingSolidus"] = "end-tag-with-trailing-solidus";
  9. ERR["unexpectedSolidusInTag"] = "unexpected-solidus-in-tag";
  10. ERR["unexpectedNullCharacter"] = "unexpected-null-character";
  11. ERR["unexpectedQuestionMarkInsteadOfTagName"] = "unexpected-question-mark-instead-of-tag-name";
  12. ERR["invalidFirstCharacterOfTagName"] = "invalid-first-character-of-tag-name";
  13. ERR["unexpectedEqualsSignBeforeAttributeName"] = "unexpected-equals-sign-before-attribute-name";
  14. ERR["missingEndTagName"] = "missing-end-tag-name";
  15. ERR["unexpectedCharacterInAttributeName"] = "unexpected-character-in-attribute-name";
  16. ERR["unknownNamedCharacterReference"] = "unknown-named-character-reference";
  17. ERR["missingSemicolonAfterCharacterReference"] = "missing-semicolon-after-character-reference";
  18. ERR["unexpectedCharacterAfterDoctypeSystemIdentifier"] = "unexpected-character-after-doctype-system-identifier";
  19. ERR["unexpectedCharacterInUnquotedAttributeValue"] = "unexpected-character-in-unquoted-attribute-value";
  20. ERR["eofBeforeTagName"] = "eof-before-tag-name";
  21. ERR["eofInTag"] = "eof-in-tag";
  22. ERR["missingAttributeValue"] = "missing-attribute-value";
  23. ERR["missingWhitespaceBetweenAttributes"] = "missing-whitespace-between-attributes";
  24. ERR["missingWhitespaceAfterDoctypePublicKeyword"] = "missing-whitespace-after-doctype-public-keyword";
  25. ERR["missingWhitespaceBetweenDoctypePublicAndSystemIdentifiers"] = "missing-whitespace-between-doctype-public-and-system-identifiers";
  26. ERR["missingWhitespaceAfterDoctypeSystemKeyword"] = "missing-whitespace-after-doctype-system-keyword";
  27. ERR["missingQuoteBeforeDoctypePublicIdentifier"] = "missing-quote-before-doctype-public-identifier";
  28. ERR["missingQuoteBeforeDoctypeSystemIdentifier"] = "missing-quote-before-doctype-system-identifier";
  29. ERR["missingDoctypePublicIdentifier"] = "missing-doctype-public-identifier";
  30. ERR["missingDoctypeSystemIdentifier"] = "missing-doctype-system-identifier";
  31. ERR["abruptDoctypePublicIdentifier"] = "abrupt-doctype-public-identifier";
  32. ERR["abruptDoctypeSystemIdentifier"] = "abrupt-doctype-system-identifier";
  33. ERR["cdataInHtmlContent"] = "cdata-in-html-content";
  34. ERR["incorrectlyOpenedComment"] = "incorrectly-opened-comment";
  35. ERR["eofInScriptHtmlCommentLikeText"] = "eof-in-script-html-comment-like-text";
  36. ERR["eofInDoctype"] = "eof-in-doctype";
  37. ERR["nestedComment"] = "nested-comment";
  38. ERR["abruptClosingOfEmptyComment"] = "abrupt-closing-of-empty-comment";
  39. ERR["eofInComment"] = "eof-in-comment";
  40. ERR["incorrectlyClosedComment"] = "incorrectly-closed-comment";
  41. ERR["eofInCdata"] = "eof-in-cdata";
  42. ERR["absenceOfDigitsInNumericCharacterReference"] = "absence-of-digits-in-numeric-character-reference";
  43. ERR["nullCharacterReference"] = "null-character-reference";
  44. ERR["surrogateCharacterReference"] = "surrogate-character-reference";
  45. ERR["characterReferenceOutsideUnicodeRange"] = "character-reference-outside-unicode-range";
  46. ERR["controlCharacterReference"] = "control-character-reference";
  47. ERR["noncharacterCharacterReference"] = "noncharacter-character-reference";
  48. ERR["missingWhitespaceBeforeDoctypeName"] = "missing-whitespace-before-doctype-name";
  49. ERR["missingDoctypeName"] = "missing-doctype-name";
  50. ERR["invalidCharacterSequenceAfterDoctypeName"] = "invalid-character-sequence-after-doctype-name";
  51. ERR["duplicateAttribute"] = "duplicate-attribute";
  52. ERR["nonConformingDoctype"] = "non-conforming-doctype";
  53. ERR["missingDoctype"] = "missing-doctype";
  54. ERR["misplacedDoctype"] = "misplaced-doctype";
  55. ERR["endTagWithoutMatchingOpenElement"] = "end-tag-without-matching-open-element";
  56. ERR["closingOfElementWithOpenChildElements"] = "closing-of-element-with-open-child-elements";
  57. ERR["disallowedContentInNoscriptInHead"] = "disallowed-content-in-noscript-in-head";
  58. ERR["openElementsLeftAfterEof"] = "open-elements-left-after-eof";
  59. ERR["abandonedHeadElementChild"] = "abandoned-head-element-child";
  60. ERR["misplacedStartTagForHeadElement"] = "misplaced-start-tag-for-head-element";
  61. ERR["nestedNoscriptInHead"] = "nested-noscript-in-head";
  62. ERR["eofInElementThatCanContainOnlyText"] = "eof-in-element-that-can-contain-only-text";
  63. })(ERR || (ERR = {}));