An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
class DOMException | globals module | Bun BuildDocsReferenceGuidesBlogDiscord/Globals/DOMExceptionPABORT_ERRPcausePDATA_CLONE_ERRPDOMSTRING_SIZE_ERRPHIERARCHY_REQUEST_ERRPINDEX_SIZE_ERRPINUSE_ATTRIBUTE_ERRPINVALID_ACCESS_ERRPINVALID_CHARACTER_ERRPINVALID_MODIFICATION_ERRPINVALID_NODE_TYPE_ERRPINVALID_STATE_ERRPmessagePnamePNAMESPACE_ERRPNETWORK_ERRPNO_DATA_ALLOWED_ERRPNO_MODIFICATION_ALLOWED_ERRPNOT_FOUND_ERRPNOT_SUPPORTED_ERRPQUOTA_EXCEEDED_ERRPSECURITY_ERRPstackPSYNTAX_ERRPTIMEOUT_ERRPTYPE_MISMATCH_ERRPURL_MISMATCH_ERRPVALIDATION_ERRPWRONG_DOCUMENT_ERR BuildDocsReferenceGuidesBlogDiscord /Globals/DOMExceptionPABORT_ERRPcausePDATA_CLONE_ERRPDOMSTRING_SIZE_ERRPHIERARCHY_REQUEST_ERRPINDEX_SIZE_ERRPINUSE_ATTRIBUTE_ERRPINVALID_ACCESS_ERRPINVALID_CHARACTER_ERRPINVALID_MODIFICATION_ERRPINVALID_NODE_TYPE_ERRPINVALID_STATE_ERRPmessagePnamePNAMESPACE_ERRPNETWORK_ERRPNO_DATA_ALLOWED_ERRPNO_MODIFICATION_ALLOWED_ERRPNOT_FOUND_ERRPNOT_SUPPORTED_ERRPQUOTA_EXCEEDED_ERRPSECURITY_ERRPstackPSYNTAX_ERRPTIMEOUT_ERRPTYPE_MISMATCH_ERRPURL_MISMATCH_ERRPVALIDATION_ERRPWRONG_DOCUMENT_ERR readonly ABORT_ERR: 20cause?: unknown readonly DATA_CLONE_ERR: 25readonly DOMSTRING_SIZE_ERR: 2readonly HIERARCHY_REQUEST_ERR: 3readonly INDEX_SIZE_ERR: 1readonly INUSE_ATTRIBUTE_ERR: 10readonly INVALID_ACCESS_ERR: 15readonly INVALID_CHARACTER_ERR: 5readonly INVALID_MODIFICATION_ERR: 13readonly INVALID_NODE_TYPE_ERR: 24readonly INVALID_STATE_ERR: 11readonly message: string readonly name: string readonly NAMESPACE_ERR: 14readonly NETWORK_ERR: 19readonly NO_DATA_ALLOWED_ERR: 6readonly NO_MODIFICATION_ALLOWED_ERR: 7readonly NOT_FOUND_ERR: 8readonly NOT_SUPPORTED_ERR: 9readonly QUOTA_EXCEEDED_ERR: 22readonly SECURITY_ERR: 18stack?: stringreadonly SYNTAX_ERR: 12readonly TIMEOUT_ERR: 23readonly TYPE_MISMATCH_ERR: 17readonly URL_MISMATCH_ERR: 21readonly VALIDATION_ERR: 16readonly WRONG_DOCUMENT_ERR: 4readonly static ABORT_ERR: 20readonly static DATA_CLONE_ERR: 25readonly static DOMSTRING_SIZE_ERR: 2readonly static HIERARCHY_REQUEST_ERR: 3readonly static INDEX_SIZE_ERR: 1readonly static INUSE_ATTRIBUTE_ERR: 10readonly static INVALID_ACCESS_ERR: 15readonly static INVALID_CHARACTER_ERR: 5readonly static INVALID_MODIFICATION_ERR: 13readonly static INVALID_NODE_TYPE_ERR: 24readonly static INVALID_STATE_ERR: 11readonly static NAMESPACE_ERR: 14readonly static NETWORK_ERR: 19readonly static NO_DATA_ALLOWED_ERR: 6readonly static NO_MODIFICATION_ALLOWED_ERR: 7readonly static NOT_FOUND_ERR: 8readonly static NOT_SUPPORTED_ERR: 9readonly static QUOTA_EXCEEDED_ERR: 22readonly static SECURITY_ERR: 18readonly static SYNTAX_ERR: 12readonly static TIMEOUT_ERR: 23readonly static TYPE_MISMATCH_ERR: 17readonly static URL_MISMATCH_ERR: 21readonly static VALIDATION_ERR: 16readonly static WRONG_DOCUMENT_ERR: 4
Search the reference...
/
class
DOMExceptionclass DOMExceptionThe cause of the error.
Resources
ReferenceDocsGuidesDiscordMerch StoreGitHubBlogToolkit
RuntimePackage managerTest runnerBundlerPackage runnerProject
Bun 1.0Bun 1.1Bun 1.2Bun 1.3RoadmapContributingLicenseBaked with ❤️ in San Francisco
We're hiring →class DOMException | globals module | Bun,AI智能索引,全网链接索引,智能导航,网页索引
- An abnormal event (called an exception) which occurs as a result of calling a method or accessing a property of a web API.
[MDN Reference](https://developer.mozilla.org/docs/Web/API/DOMException)