ReadonlyABORT_OptionalcauseReadonlycodeThe code read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.
ReadonlyDATA_ReadonlyDOMSTRING_ReadonlyHIERARCHY_ReadonlyINDEX_ReadonlyINUSE_ReadonlyINVALID_ReadonlyINVALID_ReadonlyINVALID_ReadonlyINVALID_ReadonlyINVALID_ReadonlymessageThe message read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.
ReadonlynameThe name read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.
ReadonlyNAMESPACE_ReadonlyNETWORK_ReadonlyNO_ReadonlyNO_ReadonlyNOT_ReadonlyNOT_ReadonlyQUOTA_ReadonlySECURITY_OptionalstackReadonlySYNTAX_ReadonlyTIMEOUT_ReadonlyTYPE_ReadonlyURL_ReadonlyVALIDATION_ReadonlyWRONG_
The
DOMExceptioninterface represents an abnormal event (called an exception) that occurs as a result of calling a method or accessing a property of a web API. This is how error conditions are described in web APIs.MDN Reference