iOS SDK API Reference

SKWPeerError.h
Go to the documentation of this file.
1 // SKWPeerError.h
3 // SkyWay SDK
5 #import <Foundation/Foundation.h>
6 #import "SKWCommon.h"
7 
12 typedef NS_ENUM(NSInteger, SKWPeerErrorEnum) {
71 };
72 
76 @interface SKWPeerError : NSObject <NSCopying>
77 
81 @property(nonatomic, readonly) NSString *typeString;
82 
86 @property(nonatomic, readonly) NSString *message;
87 
88 #ifndef DOXYGEN_SKIP_THIS
89 @property(nonatomic, readonly) SKWPeerErrorEnum type SKYWAY_API_DEPRECATED;
93 
97 @property(nonatomic, readonly) NSError *error SKYWAY_API_DEPRECATED;
98 #endif // !DOXYGEN_SKIP_THIS
99 
100 @end
SKW_PEER_ERR_SIGNALING_LIMITED
@ SKW_PEER_ERR_SIGNALING_LIMITED
Signaling-Server is not available because the monthly Signaling-Server usage limit for Community Edit...
Definition: SKWPeerError.h:61
SKWPeerError::typeString
NSString * typeString
Error type string.
Definition: SKWPeerError.h:81
SKW_PEER_ERR_SERVER_ERROR
@ SKW_PEER_ERR_SERVER_ERROR
Unable to reach the server.
Definition: SKWPeerError.h:40
SKW_PEER_ERR_ROOM_ERROR
@ SKW_PEER_ERR_ROOM_ERROR
Failed to authenticate.
Definition: SKWPeerError.h:58
SKWPeerError
Error information class.
Definition: SKWPeerError.h:76
SKW_PEER_ERR_SOCKET_ERROR
@ SKW_PEER_ERR_SOCKET_ERROR
socket error.
Definition: SKWPeerError.h:43
SKWPeerError::message
NSString * message
Error message.
Definition: SKWPeerError.h:86
SKW_PEER_ERR_INVALID_KEY
@ SKW_PEER_ERR_INVALID_KEY
The API key passed into the Peer constructor contains illegal characters or is not in the system (clo...
Definition: SKWPeerError.h:28
SKW_PEER_ERR_AUTHENTICATION
@ SKW_PEER_ERR_AUTHENTICATION
Room error.
Definition: SKWPeerError.h:52
SKW_PEER_ERR_INVALID_ID
@ SKW_PEER_ERR_INVALID_ID
The ID passed into the Peer constructor contains illegal characters.
Definition: SKWPeerError.h:25
SKW_PEER_ERR_SOCKET_CLOSED
@ SKW_PEER_ERR_SOCKET_CLOSED
The underlying socket closed unexpectedly.
Definition: SKWPeerError.h:46
SKW_PEER_ERR_UNKNOWN
@ SKW_PEER_ERR_UNKNOWN
Unknown error.
Definition: SKWPeerError.h:70
SKW_PEER_ERR_NETWORK
@ SKW_PEER_ERR_NETWORK
Lost or cannot establish a connection to the signalling server.
Definition: SKWPeerError.h:31
SKW_PEER_ERR_BROWSER_INCOMPATIBLE
@ SKW_PEER_ERR_BROWSER_INCOMPATIBLE
The client's browser does not support some or all WebRTC features that you are trying to use.
Definition: SKWPeerError.h:19
SKWPeerErrorEnum
SKWPeerErrorEnum
Error type.
Definition: SKWPeerError.h:13
SKW_PEER_ERR_PEER_UNAVAILABLE
@ SKW_PEER_ERR_PEER_UNAVAILABLE
The peer you're trying to connect to does not exist.
Definition: SKWPeerError.h:34
SKW_PEER_ERR_SFU_LIMITED
@ SKW_PEER_ERR_SFU_LIMITED
SFU is not available because the monthly SFU usage limit for Community Edition has been exceeded.
Definition: SKWPeerError.h:64
SKW_PEER_ERR_WEBRTC
@ SKW_PEER_ERR_WEBRTC
Failed to authenticate.
Definition: SKWPeerError.h:55
SKW_PEER_ERR_UNAVAILABLE_ID
@ SKW_PEER_ERR_UNAVAILABLE_ID
The ID passed into the Peer constructor is already taken.
Definition: SKWPeerError.h:49
SKW_PEER_ERR_TURN_LIMITED
@ SKW_PEER_ERR_TURN_LIMITED
TURN is not available because the monthly TURN usage limit for Community Edition has been exceeded.
Definition: SKWPeerError.h:67
SKW_PEER_ERR_SSL_UNAVAILABLE
@ SKW_PEER_ERR_SSL_UNAVAILABLE
PeerJS is being used securely, but the cloud server does not support SSL.
Definition: SKWPeerError.h:37
SKW_PEER_ERR_NO_ERROR
@ SKW_PEER_ERR_NO_ERROR
No error.
Definition: SKWPeerError.h:16
SKW_PEER_ERR_DISCONNECTED
@ SKW_PEER_ERR_DISCONNECTED
You've already disconnected this peer from the server and can no longer make any new connections on i...
Definition: SKWPeerError.h:22