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.
Properties
The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred.
The RTCError read-only property receivedAlert specifies the fatal DTLS error which resulted in an alert being received from the remote peer.
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.
The RTCError interface's read-only property sdpLineNumber specifies the line number within the SDP at which a syntax error occurred while parsing it.