diff options
author | 2023-08-24 10:38:14 -0400 | |
---|---|---|
committer | 2023-08-24 10:38:14 -0400 | |
commit | f1c610636a7aeed0a272ab2669815135699b413c (patch) | |
tree | d7597c3468197559948f9fe2bafe13a8c3d71106 /packages/webapi/src/lib/DOMException.ts | |
parent | 608b2d732d762bf1f7f44a82b278caa8853c8c2f (diff) | |
parent | ebaccf8c1a2f37eacb6e1957c82fdf7f93b62b08 (diff) | |
download | astro-f1c610636a7aeed0a272ab2669815135699b413c.tar.gz astro-f1c610636a7aeed0a272ab2669815135699b413c.tar.zst astro-f1c610636a7aeed0a272ab2669815135699b413c.zip |
Merge pull request #8188 from withastro/next
Astro 3.0
Diffstat (limited to 'packages/webapi/src/lib/DOMException.ts')
-rw-r--r-- | packages/webapi/src/lib/DOMException.ts | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/packages/webapi/src/lib/DOMException.ts b/packages/webapi/src/lib/DOMException.ts deleted file mode 100644 index 539871c6b..000000000 --- a/packages/webapi/src/lib/DOMException.ts +++ /dev/null @@ -1,40 +0,0 @@ -import * as _ from './utils' - -export class DOMException extends Error { - constructor(message = '', name = 'Error') { - super(message) - - this.code = 0 - this.name = name - } - - code!: number - - static INDEX_SIZE_ERR = 1 - static DOMSTRING_SIZE_ERR = 2 - static HIERARCHY_REQUEST_ERR = 3 - static WRONG_DOCUMENT_ERR = 4 - static INVALID_CHARACTER_ERR = 5 - static NO_DATA_ALLOWED_ERR = 6 - static NO_MODIFICATION_ALLOWED_ERR = 7 - static NOT_FOUND_ERR = 8 - static NOT_SUPPORTED_ERR = 9 - static INUSE_ATTRIBUTE_ERR = 10 - static INVALID_STATE_ERR = 11 - static SYNTAX_ERR = 12 - static INVALID_MODIFICATION_ERR = 13 - static NAMESPACE_ERR = 14 - static INVALID_ACCESS_ERR = 15 - static VALIDATION_ERR = 16 - static TYPE_MISMATCH_ERR = 17 - static SECURITY_ERR = 18 - static NETWORK_ERR = 19 - static ABORT_ERR = 20 - static URL_MISMATCH_ERR = 21 - static QUOTA_EXCEEDED_ERR = 22 - static TIMEOUT_ERR = 23 - static INVALID_NODE_TYPE_ERR = 24 - static DATA_CLONE_ERR = 25 -} - -_.allowStringTag(DOMException) |