value property
String
get
value
Implementation
String get value {
switch (this) {
case PeerErrorType.BrowserIncompatible:
return "browser-incompatible";
case PeerErrorType.Disconnected:
return "disconnected";
case PeerErrorType.InvalidID:
return "invalid-id";
case PeerErrorType.InvalidKey:
return "invalid-key";
case PeerErrorType.Network:
return "network";
case PeerErrorType.PeerUnavailable:
return "peer-unavailable";
case PeerErrorType.SslUnavailable:
return "ssl-unavailable";
case PeerErrorType.ServerError:
return "server-error";
case PeerErrorType.SocketError:
return "socket-error";
case PeerErrorType.SocketClosed:
return "socket-closed";
case PeerErrorType.UnavailableID:
return "unavailable-id";
case PeerErrorType.WebRTC:
return "webrtc";
}
}