RTCError extension type

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.


API documentation sourced from MDN Web Docs.

on
Implemented types
Available extensions

Constructors

RTCError(RTCErrorInit init, [String message])
factory

Properties

code int
The code read-only property of the DOMException interface returns one of the legacy error code constants, or 0 if none match.
no setterinherited
errorDetail RTCErrorDetailType
The RTCError interface's read-only errorDetail property is a string indicating the WebRTC-specific error code that occurred.
no setter
hashCode int
The hash code for this object.
no setterinherited
httpRequestStatusCode int?
no setter
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.
no setterinherited
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.
no setterinherited
receivedAlert int?
The RTCError read-only property receivedAlert specifies the fatal error which resulted in an alert being received from the remote peer.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
sctpCauseCode int?
The read-only sctpCauseCode property in an RTCError object provides the cause code explaining why the SCTP negotiation failed, if the RTCError represents an SCTP error.
no setter
sdpLineNumber int?
The RTCError interface's read-only property sdpLineNumber specifies the line number within the at which a syntax error occurred while parsing it.
no setter
sentAlert int?
The read-only sentAlert property in an RTCError object specifies the alert number occurred while sending data to the remote peer, if the error represents an outbound DTLS error.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited