onerror
Summary
An event listener to be called when an error occurs.
Property of apis/webrtc/RTCDataChannelapis/webrtc/RTCDataChannel
Syntax
var result = object.onerror;
object.onerror = value;
Return Value
Returns an object of type
EventHandler
Related specifications
- W3C Web RTC Specification
- W3C Editor’s Draft