TWCErrorCode Constants Reference
| Declared in | TWCErrors.h |
|---|
TWCErrorCode
@enum Twilio Conversations Framework Error Codes
Definition
typedef NS_ENUM(NSInteger, TWCErrorCode ) {
TWCErrorCodeUnknown = -1,
TWCErrorCodeInvalidAuthData = 100,
TWCErrorCodeInvalidSIPAccount = 102,
TWCErrorCodeClientRegistration = 103,
TWCErrorCodeInvalidConversation = 105,
TWCErrorCodeConversationParticipantNotAvailable = 106,
TWCErrorCodeConversationRejected = 107,
TWCErrorCodeConversationIgnored = 108,
TWCErrorCodeConversationFailed = 109,
TWCErrorCodeConversationTerminated = 110,
TWCErrorCodePeerConnectFailed = 111,
TWCErrorCodeInvalidParticipantAddresses = 112,
TWCErrorCodeClientDisconnected = 200,
TWCErrorCodeClientFailedToReconnect = 201,
TWCErrorCodeTooManyActiveConversations = 202,
TWCErrorCodeTooManyTracks = 300,
TWCErrorCodeInvalidVideoCapturer = 301,
TWCErrorCodeInvalidVideoTrack = 302,
TWCErrorCodeVideoFailed = 303,
TWCErrorCodeTrackOperationInProgress = 304,
TWCErrorCodeTrackAddFailed = 305,
};
Constants
TWCErrorCodeUnknown-
An unknown error.
Declared In
TWCErrors.h. TWCErrorCodeInvalidAuthData-
Authenticating your Client failed due to invalid auth credentials.
Declared In
TWCErrors.h. TWCErrorCodeInvalidSIPAccount-
The SIP account was invalid.
Declared In
TWCErrors.h. TWCErrorCodeClientRegistration-
There was an error during Client registration.
Declared In
TWCErrors.h. TWCErrorCodeInvalidConversation-
The Conversation was invalid.
Declared In
TWCErrors.h. TWCErrorCodeConversationParticipantNotAvailable-
The Client you invited was not available.
Declared In
TWCErrors.h. TWCErrorCodeConversationRejected-
The Client rejected your invitation.
Declared In
TWCErrors.h. TWCErrorCodeConversationIgnored-
The Client was busy, and could not handle your invitation.
Declared In
TWCErrors.h. TWCErrorCodeConversationFailed-
The Conversation failed to start. @note: Check the error’s
localizedDescriptionfor more information about the failure.Declared In
TWCErrors.h. TWCErrorCodeConversationTerminated-
The Conversation was terminated due to an unforeseen error.
Declared In
TWCErrors.h. TWCErrorCodePeerConnectFailed-
Establishing a media connection with the remote peer failed.
Declared In
TWCErrors.h. TWCErrorCodeInvalidParticipantAddresses-
The remote Client address was invalid.
Declared In
TWCErrors.h. TWCErrorCodeClientDisconnected-
The Client disconnected unexpectedly.
Declared In
TWCErrors.h. TWCErrorCodeClientFailedToReconnect-
The Client could not reconnect.
Declared In
TWCErrors.h. TWCErrorCodeTooManyActiveConversations-
Too many active Conversations.
Declared In
TWCErrors.h. TWCErrorCodeTooManyTracks-
Too many tracks were added to the local media. @note: The current maximum is one video track at a time.
Declared In
TWCErrors.h. TWCErrorCodeInvalidVideoCapturer-
An invalid video capturer was added to the local media. @note: At the moment, only TWCCameraCapturer is supported.
Declared In
TWCErrors.h. TWCErrorCodeInvalidVideoTrack-
An attempt was made to add or remove an invalid video track. @note: Use a video track created by a TWCCameraCapturer.
Declared In
TWCErrors.h. TWCErrorCodeVideoFailed-
An attempt was made to add or remove a video track, but the underlying video subsystem failed. @note: Retry your request at a later time.
Declared In
TWCErrors.h. TWCErrorCodeTrackOperationInProgress-
An attempt was made to add or remove a track that is already being operated on. @note: Retry your request at a later time.
Declared In
TWCErrors.h. TWCErrorCodeTrackAddFailed-
Adding a track to
TWCLocalMediaasynchronously failed.Declared In
TWCErrors.h.
Declared In
TWCErrors.h