Definition
WebRTC: Real-Time Communication in Browsers defines RTCError
[Exposed=Window]
interface RTCError : DOMException {
constructor(RTCErrorInit init, optional DOMString message = "");
readonly attribute RTCErrorDetailType errorDetail;
readonly attribute long? sdpLineNumber;
readonly attribute long? sctpCauseCode;
readonly attribute unsigned long? receivedAlert;
readonly attribute unsigned long? sentAlert;
};
This interface is extended in the following specifications:
- Identity for WebRTC 1.0
partial interface RTCError { readonly attribute long? httpRequestStatusCode; };
Consolidated IDL (across mixin and partials)
[Exposed=Window]
interface RTCError : DOMException {
constructor(RTCErrorInit init, optional DOMString message = "");
readonly attribute RTCErrorDetailType errorDetail;
readonly attribute long? sdpLineNumber;
readonly attribute long? sctpCauseCode;
readonly attribute unsigned long? receivedAlert;
readonly attribute unsigned long? sentAlert;
readonly attribute long? httpRequestStatusCode;
};
Methods and attributes that return objects implementing RTCError
Referring IDL interfaces/dictionaries
Referring specifications
- Identity for WebRTC 1.0 refers to
RTCError