Variable DOMException

    DOMException: {
        ABORT_ERR: 20;
        DATA_CLONE_ERR: 25;
        DOMSTRING_SIZE_ERR: 2;
        HIERARCHY_REQUEST_ERR: 3;
        INDEX_SIZE_ERR: 1;
        INUSE_ATTRIBUTE_ERR: 10;
        INVALID_ACCESS_ERR: 15;
        INVALID_CHARACTER_ERR: 5;
        INVALID_MODIFICATION_ERR: 13;
        INVALID_NODE_TYPE_ERR: 24;
        INVALID_STATE_ERR: 11;
        NAMESPACE_ERR: 14;
        NETWORK_ERR: 19;
        NO_DATA_ALLOWED_ERR: 6;
        NO_MODIFICATION_ALLOWED_ERR: 7;
        NOT_FOUND_ERR: 8;
        NOT_SUPPORTED_ERR: 9;
        prototype: DOMException;
        QUOTA_EXCEEDED_ERR: 22;
        SECURITY_ERR: 18;
        SYNTAX_ERR: 12;
        TIMEOUT_ERR: 23;
        TYPE_MISMATCH_ERR: 17;
        URL_MISMATCH_ERR: 21;
        VALIDATION_ERR: 16;
        WRONG_DOCUMENT_ERR: 4;
        new (message?: string, name?: string): DOMException;
    }

    Type declaration

      • new (message?: string, name?: string): DOMException
      • Parameters

        • Optionalmessage: string
        • Optionalname: string

        Returns DOMException

    • ReadonlyABORT_ERR: 20
    • ReadonlyDATA_CLONE_ERR: 25
    • ReadonlyDOMSTRING_SIZE_ERR: 2
    • ReadonlyHIERARCHY_REQUEST_ERR: 3
    • ReadonlyINDEX_SIZE_ERR: 1
    • ReadonlyINUSE_ATTRIBUTE_ERR: 10
    • ReadonlyINVALID_ACCESS_ERR: 15
    • ReadonlyINVALID_CHARACTER_ERR: 5
    • ReadonlyINVALID_MODIFICATION_ERR: 13
    • ReadonlyINVALID_NODE_TYPE_ERR: 24
    • ReadonlyINVALID_STATE_ERR: 11
    • ReadonlyNAMESPACE_ERR: 14
    • ReadonlyNETWORK_ERR: 19
    • ReadonlyNO_DATA_ALLOWED_ERR: 6
    • ReadonlyNO_MODIFICATION_ALLOWED_ERR: 7
    • ReadonlyNOT_FOUND_ERR: 8
    • ReadonlyNOT_SUPPORTED_ERR: 9
    • prototype: DOMException
    • ReadonlyQUOTA_EXCEEDED_ERR: 22
    • ReadonlySECURITY_ERR: 18
    • ReadonlySYNTAX_ERR: 12
    • ReadonlyTIMEOUT_ERR: 23
    • ReadonlyTYPE_MISMATCH_ERR: 17
    • ReadonlyURL_MISMATCH_ERR: 21
    • ReadonlyVALIDATION_ERR: 16
    • ReadonlyWRONG_DOCUMENT_ERR: 4