DOMException
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:23
The DOMException interface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a property of a web API.
Extends
Section titled “Extends”Error
Constructors
Section titled “Constructors”Constructor
Section titled “Constructor”new DOMException(
message?,name?):DOMException
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:24
Parameters
Section titled “Parameters”message?
Section titled “message?”string
string
Returns
Section titled “Returns”DOMException
Overrides
Section titled “Overrides”Error.constructor
Properties
Section titled “Properties”cause?
Section titled “cause?”
optionalcause:unknown
Defined in: .pnpm-home/store/v11/links/@/typescript/5.9.3/86852851065618a77b8365a4daeb70e416bfcdbbe1c91f862babcda952119f61/node_modules/typescript/lib/lib.es2022.error.d.ts:26
Inherited from
Section titled “Inherited from”Error.cause
readonlycode:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:43
The code read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.
message
Section titled “message”
readonlymessage:string
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:30
The message read-only property of the a message or description associated with the given error name.
Overrides
Section titled “Overrides”Error.message
readonlyname:string
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:36
The name read-only property of the one of the strings associated with an error name.
Overrides
Section titled “Overrides”Error.name
ABORT_ERR
Section titled “ABORT_ERR”
readonlystaticABORT_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:63
DATA_CLONE_ERR
Section titled “DATA_CLONE_ERR”
readonlystaticDATA_CLONE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:68
DOMSTRING_SIZE_ERR
Section titled “DOMSTRING_SIZE_ERR”
readonlystaticDOMSTRING_SIZE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:45
HIERARCHY_REQUEST_ERR
Section titled “HIERARCHY_REQUEST_ERR”
readonlystaticHIERARCHY_REQUEST_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:46
INDEX_SIZE_ERR
Section titled “INDEX_SIZE_ERR”
readonlystaticINDEX_SIZE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:44
INUSE_ATTRIBUTE_ERR
Section titled “INUSE_ATTRIBUTE_ERR”
readonlystaticINUSE_ATTRIBUTE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:53
INVALID_ACCESS_ERR
Section titled “INVALID_ACCESS_ERR”
readonlystaticINVALID_ACCESS_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:58
INVALID_CHARACTER_ERR
Section titled “INVALID_CHARACTER_ERR”
readonlystaticINVALID_CHARACTER_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:48
INVALID_MODIFICATION_ERR
Section titled “INVALID_MODIFICATION_ERR”
readonlystaticINVALID_MODIFICATION_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:56
INVALID_NODE_TYPE_ERR
Section titled “INVALID_NODE_TYPE_ERR”
readonlystaticINVALID_NODE_TYPE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:67
INVALID_STATE_ERR
Section titled “INVALID_STATE_ERR”
readonlystaticINVALID_STATE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:54
NAMESPACE_ERR
Section titled “NAMESPACE_ERR”
readonlystaticNAMESPACE_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:57
NETWORK_ERR
Section titled “NETWORK_ERR”
readonlystaticNETWORK_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:62
NO_DATA_ALLOWED_ERR
Section titled “NO_DATA_ALLOWED_ERR”
readonlystaticNO_DATA_ALLOWED_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:49
NO_MODIFICATION_ALLOWED_ERR
Section titled “NO_MODIFICATION_ALLOWED_ERR”
readonlystaticNO_MODIFICATION_ALLOWED_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:50
NOT_FOUND_ERR
Section titled “NOT_FOUND_ERR”
readonlystaticNOT_FOUND_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:51
NOT_SUPPORTED_ERR
Section titled “NOT_SUPPORTED_ERR”
readonlystaticNOT_SUPPORTED_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:52
QUOTA_EXCEEDED_ERR
Section titled “QUOTA_EXCEEDED_ERR”
readonlystaticQUOTA_EXCEEDED_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:65
SECURITY_ERR
Section titled “SECURITY_ERR”
readonlystaticSECURITY_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:61
SYNTAX_ERR
Section titled “SYNTAX_ERR”
readonlystaticSYNTAX_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:55
TIMEOUT_ERR
Section titled “TIMEOUT_ERR”
readonlystaticTIMEOUT_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:66
TYPE_MISMATCH_ERR
Section titled “TYPE_MISMATCH_ERR”
readonlystaticTYPE_MISMATCH_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:60
URL_MISMATCH_ERR
Section titled “URL_MISMATCH_ERR”
readonlystaticURL_MISMATCH_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:64
VALIDATION_ERR
Section titled “VALIDATION_ERR”
readonlystaticVALIDATION_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:59
WRONG_DOCUMENT_ERR
Section titled “WRONG_DOCUMENT_ERR”
readonlystaticWRONG_DOCUMENT_ERR:number
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:47
Accessors
Section titled “Accessors”Get Signature
Section titled “Get Signature”get stack():
any
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:69
Returns
Section titled “Returns”any
Set Signature
Section titled “Set Signature”set stack(
value):void
Defined in: .pnpm-home/store/v11/links/@cloudflare/workers-types/4.20251118.0/2891147a4db443bf13ca098dcb7381fb6bac5793758b7fd187ebaf5bc0deb969/node_modules/@cloudflare/workers-types/index.ts:70
Parameters
Section titled “Parameters”any
Returns
Section titled “Returns”void
Overrides
Section titled “Overrides”Error.stack