ErrorCode
@objc(SBCErrorCode)
public enum ErrorCode : Int, RawRepresentable, Codable
Custom Error codes representing different error scenarios.
Since
1.0.0-
Declaration
Swift
public typealias RawValue = Int
-
Since
1.0.0Declaration
Swift
case dialCanceled = 1800100
-
Since
1.0.0Declaration
Swift
case myUserIdNotAllowed = 1800101
-
Since
1.0.0Declaration
Swift
case requestFailed = 1800200
-
Since
1.0.0Declaration
Swift
case websocketConnectionNotOpened = 1800201
-
Since
1.0.0Declaration
Swift
case websocketConnectionFailed = 1800202
-
Since
1.0.0Declaration
Swift
case noResponseDueToTimeout = 1800203
-
Since
1.0.0Declaration
Swift
case requestFailedDueToWebsocketConnectionLost = 1800204
-
Since
1.0.0Declaration
Swift
case wrongResponse = 1800205
-
Since
1.0.0Declaration
Swift
case queryInProgress = 1800206
-
Since
1.0.0Declaration
Swift
case internalServerError = 1800207
-
Since
1.0.0Declaration
Swift
case malformedData = 1800208
-
Since
1.0.0Declaration
Swift
case invalidParameterValue = 1800300
-
Since
1.0.0Declaration
Swift
case invalidParameterType = 1800301
-
Since
1.0.0Declaration
Swift
case instanceNotInitialized = 1800302
-
Since
1.0.0Declaration
Swift
case notAuthenticated = 1800303
-
Since
1.0.0Declaration
Swift
case changingVideoDeviceNotSupported = 1800403
-
Since
1.0.0Declaration
Swift
case changingVideoDeviceInProgress = 1800404
-
Since
1.0.0Declaration
Swift
case changingVideoDeviceFailed = 1800405
-
Since
1.3.0Declaration
Swift
case captureNotAllowedOnAudioCall = 1800600
-
Since
1.3.0Declaration
Swift
case videoViewNotReady = 1800601
-
Since
1.3.0Declaration
Swift
case videoCallNotConnectedYet = 1800602
-
Since
1.3.0Declaration
Swift
case failedToGetImageFromVideoStream = 1800603
-
Since
1.3.0Declaration
Swift
case callNotConnectedYet = 1800610
-
Since
1.3.0Declaration
Swift
case wrongRecordingTypeForAudioCall = 1800611
-
Since
1.3.0Declaration
Swift
case recordingAlreadyInProgress = 1800612
-
Since
1.3.0Declaration
Swift
case failedToStartRecording = 1800614
-
Since
1.3.0Declaration
Swift
case failedToStopRecording = 1800615
-
Since
1.5.4Declaration
Swift
case screenShareRestrictedFromAudioCall = 1800620
-
Since
1.5.4Declaration
Swift
case screenShareRequestBeforeCallIsConnected = 1800621
-
Since
1.5.4Declaration
Swift
case screenShareAlreadyInProgress = 1800622
-
Since
1.5.4Declaration
Swift
case noScreenShareExists = 1800623
-
Since
1.8.0Declaration
Swift
case callPutOnHold = 1800632
-
Since
1.6.0Declaration
Swift
case clientAlreadyEntered = 1800700
-
Since
1.6.0Declaration
Swift
case enteringRoomStillInProgress = 1800701
-
Since
1.6.0Declaration
Swift
case participantNotInRoom = 1800702
-
Since
1.6.0Declaration
Swift
case localParticipantLostConnection = 1800706
-
Since
1.8.0Declaration
Swift
case callAlreadyOnHold = 1800801
-
Since
1.8.0Declaration
Swift
case callNotPutOnHoldByLocalUser = 1800802
-
Since
1.8.0Declaration
Swift
case anotherCallInProgress = 1800803
-
Since
1.6.0Declaration
Swift
case invalidParams = 400100
-
Since
1.6.0Declaration
Swift
case missingParams = 400111
-
Since
1.6.0Declaration
Swift
case notFound = 400200
-
Since
1.6.0Declaration
Swift
case uniqueConstraint = 400201
-
Since
1.6.0Declaration
Swift
case freePlanEnded = 400800
-
Since
1.6.0Declaration
Swift
case notAllowed = 401120
-
Since
1.6.0Declaration
Swift
case notAuthorized = 401121
-
Since
1.0.6Declaration
Swift
case serverInternalError = 1400999
-
Since
1.0.6Declaration
Swift
case invalidCallStatus = 1400101
-
Since
1.0.6Declaration
Swift
case callDoesNotExist = 1400102
-
Since
1.0.6Declaration
Swift
case calleeDoesNotExist = 1400103
-
Since
1.0.6Declaration
Swift
case dialMyself = 1400104
-
Since
1.0.6Declaration
Swift
case noPermission = 1400105
-
Since
1.0.6Declaration
Swift
case calleeNeverAuthenticate = 1400106
-
Since
1.6.0Declaration
Swift
case participantsLimitExceededInRoom = 1400120
-
Since
1.6.0Declaration
Swift
case invalidParticipantId = 1400121
-
Since
1.6.0Declaration
Swift
case clientIdAlreadyExists = 1400122
-
Since
1.6.0Declaration
Swift
case invalidRequest = 1400123
-
Since
1.6.0Declaration
Swift
case endpointToSendStreamAlreadyExists = 1400124
-
Since
1.6.0Declaration
Swift
case unknownError = 500999