dom-exception-constants.js 1.5 KB

123456789101112131415161718192021222324252627
  1. module.exports = {
  2. IndexSizeError: { s: 'INDEX_SIZE_ERR', c: 1, m: 1 },
  3. DOMStringSizeError: { s: 'DOMSTRING_SIZE_ERR', c: 2, m: 0 },
  4. HierarchyRequestError: { s: 'HIERARCHY_REQUEST_ERR', c: 3, m: 1 },
  5. WrongDocumentError: { s: 'WRONG_DOCUMENT_ERR', c: 4, m: 1 },
  6. InvalidCharacterError: { s: 'INVALID_CHARACTER_ERR', c: 5, m: 1 },
  7. NoDataAllowedError: { s: 'NO_DATA_ALLOWED_ERR', c: 6, m: 0 },
  8. NoModificationAllowedError: { s: 'NO_MODIFICATION_ALLOWED_ERR', c: 7, m: 1 },
  9. NotFoundError: { s: 'NOT_FOUND_ERR', c: 8, m: 1 },
  10. NotSupportedError: { s: 'NOT_SUPPORTED_ERR', c: 9, m: 1 },
  11. InUseAttributeError: { s: 'INUSE_ATTRIBUTE_ERR', c: 10, m: 1 },
  12. InvalidStateError: { s: 'INVALID_STATE_ERR', c: 11, m: 1 },
  13. SyntaxError: { s: 'SYNTAX_ERR', c: 12, m: 1 },
  14. InvalidModificationError: { s: 'INVALID_MODIFICATION_ERR', c: 13, m: 1 },
  15. NamespaceError: { s: 'NAMESPACE_ERR', c: 14, m: 1 },
  16. InvalidAccessError: { s: 'INVALID_ACCESS_ERR', c: 15, m: 1 },
  17. ValidationError: { s: 'VALIDATION_ERR', c: 16, m: 0 },
  18. TypeMismatchError: { s: 'TYPE_MISMATCH_ERR', c: 17, m: 1 },
  19. SecurityError: { s: 'SECURITY_ERR', c: 18, m: 1 },
  20. NetworkError: { s: 'NETWORK_ERR', c: 19, m: 1 },
  21. AbortError: { s: 'ABORT_ERR', c: 20, m: 1 },
  22. URLMismatchError: { s: 'URL_MISMATCH_ERR', c: 21, m: 1 },
  23. QuotaExceededError: { s: 'QUOTA_EXCEEDED_ERR', c: 22, m: 1 },
  24. TimeoutError: { s: 'TIMEOUT_ERR', c: 23, m: 1 },
  25. InvalidNodeTypeError: { s: 'INVALID_NODE_TYPE_ERR', c: 24, m: 1 },
  26. DataCloneError: { s: 'DATA_CLONE_ERR', c: 25, m: 1 }
  27. };