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
Properties
ReadonlyABORT_ERR
Optionalcause
Readonlycode
The code read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.
ReadonlyDATA_CLONE_ERR
ReadonlyDOMSTRING_SIZE_ERR
ReadonlyerrorDetail
The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred.
ReadonlyHIERARCHY_REQUEST_ERR
ReadonlyINDEX_SIZE_ERR
ReadonlyINUSE_ATTRIBUTE_ERR
ReadonlyINVALID_ACCESS_ERR
ReadonlyINVALID_CHARACTER_ERR
ReadonlyINVALID_MODIFICATION_ERR
ReadonlyINVALID_NODE_TYPE_ERR
ReadonlyINVALID_STATE_ERR
Readonlymessage
The message read-only property of the a message or description associated with the given error name.
Readonlyname
The name read-only property of the one of the strings associated with an error name.
ReadonlyNAMESPACE_ERR
ReadonlyNETWORK_ERR
ReadonlyNO_DATA_ALLOWED_ERR
ReadonlyNO_MODIFICATION_ALLOWED_ERR
ReadonlyNOT_FOUND_ERR
ReadonlyNOT_SUPPORTED_ERR
ReadonlyQUOTA_EXCEEDED_ERR
ReadonlyreceivedAlert
The RTCError read-only property receivedAlert specifies the fatal DTLS error which resulted in an alert being received from the remote peer.
ReadonlysctpCauseCode
The read-only sctpCauseCode property in an why the SCTP negotiation failed, if the RTCError represents an SCTP error.
ReadonlysdpLineNumber
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.
ReadonlySECURITY_ERR
ReadonlysentAlert
The read-only sentAlert property in an while sending data to the remote peer, if the error represents an outbound DTLS error.
The
RTCErrorinterface describes an error which has occurred while handling WebRTC operations.MDN Reference