Chartbreaker
    Preparing search index...

    Interface RTCError

    The RTCError interface describes an error which has occurred while handling WebRTC operations. It's based upon the standard DOMException interface that describes general DOM errors.

    MDN Reference

    interface RTCError {
        ABORT_ERR: 20;
        cause?: unknown;
        code: number;
        DATA_CLONE_ERR: 25;
        DOMSTRING_SIZE_ERR: 2;
        errorDetail: RTCErrorDetailType;
        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;
        message: string;
        name: string;
        NAMESPACE_ERR: 14;
        NETWORK_ERR: 19;
        NO_DATA_ALLOWED_ERR: 6;
        NO_MODIFICATION_ALLOWED_ERR: 7;
        NOT_FOUND_ERR: 8;
        NOT_SUPPORTED_ERR: 9;
        QUOTA_EXCEEDED_ERR: 22;
        receivedAlert: number | null;
        sctpCauseCode: number | null;
        sdpLineNumber: number | null;
        SECURITY_ERR: 18;
        sentAlert: number | null;
        stack?: string;
        SYNTAX_ERR: 12;
        TIMEOUT_ERR: 23;
        TYPE_MISMATCH_ERR: 17;
        URL_MISMATCH_ERR: 21;
        VALIDATION_ERR: 16;
        WRONG_DOCUMENT_ERR: 4;
    }

    Hierarchy

    • DOMException
      • RTCError
    Index

    Properties

    ABORT_ERR: 20
    cause?: unknown
    code: number

    The code read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.

    MDN Reference

    DATA_CLONE_ERR: 25
    DOMSTRING_SIZE_ERR: 2
    errorDetail: RTCErrorDetailType

    The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred.

    MDN Reference

    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
    message: string

    The message read-only property of the DOMException interface returns a string representing a message or description associated with the given error name.

    MDN Reference

    name: string

    The name read-only property of the DOMException interface returns a string that contains one of the strings associated with an error name.

    MDN Reference

    NAMESPACE_ERR: 14
    NETWORK_ERR: 19
    NO_DATA_ALLOWED_ERR: 6
    NO_MODIFICATION_ALLOWED_ERR: 7
    NOT_FOUND_ERR: 8
    NOT_SUPPORTED_ERR: 9
    QUOTA_EXCEEDED_ERR: 22
    receivedAlert: number | null

    The RTCError read-only property receivedAlert specifies the fatal DTLS error which resulted in an alert being received from the remote peer.

    MDN Reference

    sctpCauseCode: number | null

    The read-only sctpCauseCode property in an RTCError object provides the SCTP cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error.

    MDN Reference

    sdpLineNumber: number | null

    The RTCError interface's read-only property sdpLineNumber specifies the line number within the SDP at which a syntax error occurred while parsing it.

    MDN Reference

    SECURITY_ERR: 18
    sentAlert: number | null

    The read-only sentAlert property in an RTCError object specifies the DTLS alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error.

    MDN Reference

    stack?: string
    SYNTAX_ERR: 12
    TIMEOUT_ERR: 23
    TYPE_MISMATCH_ERR: 17
    URL_MISMATCH_ERR: 21
    VALIDATION_ERR: 16
    WRONG_DOCUMENT_ERR: 4