5 #import <Foundation/Foundation.h>
12 #ifndef DOXYGEN_SKIP_THIS
13 typedef NS_ENUM(NSInteger, SKWPeerErrorEnum)
17 SKW_PEER_ERR_NO_ERROR = 0,
19 SKW_PEER_ERR_BROWSER_INCOMPATIBLE = -1,
21 SKW_PEER_ERR_DISCONNECTED = -2,
23 SKW_PEER_ERR_INVALID_ID = -3,
25 SKW_PEER_ERR_INVALID_KEY = -4,
27 SKW_PEER_ERR_NETWORK = -5,
29 SKW_PEER_ERR_PEER_UNAVAILABLE = -6,
31 SKW_PEER_ERR_SSL_UNAVAILABLE = -7,
33 SKW_PEER_ERR_SERVER_ERROR = -8,
35 SKW_PEER_ERR_SOCKET_ERROR = -9,
37 SKW_PEER_ERR_SOCKET_CLOSED = -10,
39 SKW_PEER_ERR_UNAVAILABLE_ID = -11,
41 SKW_PEER_ERR_AUTHENTICATION = -12,
43 SKW_PEER_ERR_WEBRTC = -20,
45 SKW_PEER_ERR_ROOM_ERROR = -30,
47 SKW_PEER_ERR_UNKNOWN = - 9999,
49 #endif // !DOXYGEN_SKIP_THIS
65 @property (nonatomic, readonly) NSString*
message;
67 #ifndef DOXYGEN_SKIP_THIS
68 @property (nonatomic, readonly) SKWPeerErrorEnum type SKYWAY_API_DEPRECATED;
76 @property (nonatomic, readonly) NSError* error SKYWAY_API_DEPRECATED;
77 #endif // !DOXYGEN_SKIP_THIS