EThreeRatchetError
@objc(VTEEThreeRatchetError)
public enum EThreeRatchetError : Int, LocalizedError
Declares error types and codes for EThree Ratchet capabilities
- encryptEmptyArray: Trying to encrypt empty array
- decryptEmptyArray: Trying to decrypt empty array
- channelAlreadyExists: Channel with provided user and name already exists
- selfChannelIsForbidden: Channel with self is forbidden. Use regular encryption for this purpose.
- ratchetIsDisabled: enableRatchet parameter is set to false
- userIsNotUsingRatchet: Provided user has been never initialized with ratchet enabled
- noInvite: There is no invitation from provided user
- noSelfCardLocally: There is no self card in local storage
-
Undocumented
Declaration
Swift
case encryptEmptyArray = 1
-
Undocumented
Declaration
Swift
case decryptEmptyArray = 2
-
Undocumented
Declaration
Swift
case channelAlreadyExists = 4
-
Undocumented
Declaration
Swift
case selfChannelIsForbidden = 5
-
Undocumented
Declaration
Swift
case ratchetIsDisabled = 6
-
Undocumented
Declaration
Swift
case userIsNotUsingRatchet = 7
-
Undocumented
Declaration
Swift
case noInvite = 8
-
Undocumented
Declaration
Swift
case noSelfCardLocally = 9
-
Human-readable localized description
Declaration
Swift
public var errorDescription: String? { get }