Chartbreaker
    Preparing search index...

    Interface RTCError

    The RTCError interface describes an error which has occurred while handling WebRTC operations.

    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: null | number;
        sctpCauseCode: null | number;
        sdpLineNumber: null | number;
        SECURITY_ERR: 18;
        sentAlert: null | number;
        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 a message or description associated with the given error name.

    MDN Reference

    name: string

    The name read-only property of the 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: null | number

    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: null | number

    The read-only sctpCauseCode property in an why the SCTP negotiation failed, if the RTCError represents an SCTP error.

    MDN Reference

    sdpLineNumber: null | number

    The RTCError interface's read-only property sdpLineNumber specifies the line number within the An unsigned integer value indicating the line within the SDP at which the syntax error described by the RTCError object occurred.

    MDN Reference

    SECURITY_ERR: 18
    sentAlert: null | number

    The read-only sentAlert property in an 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