GroupError
@objc(VTEEGroupError)
public enum GroupError : Int, LocalizedError
Declares error types and codes for Group
- missingCachedGroup: Group with provided id not found locally. Try to call loadGroup first
- groupPermissionDenied: Only group initiator can do changed on group
- groupWasNotFound: Group with provided id was not found
- invalidGroup: Group is invalid
- invalidChangeParticipants: Invalid change of group participants. e.g. Add smb who is already in group or remove smb who is not
- invalidParticipantsCount: Please check valid participants count range in Group.ValidParticipantsCountRange
- verificationFailed: Verification of message failed. This may be caused by rotating sender key. Try finding new one
- shortGroupId: Group Id length should be > 10
- messageNotFromThisGroup: Message was encrypted in group with different identifier
- groupIsOutdated: Group is not up to date. Call update or loadGroup
- inconsistentState: Inconsistent state
-
Undocumented
Declaration
Swift
case missingCachedGroup = 1
-
Undocumented
Declaration
Swift
case groupPermissionDenied = 2
-
Undocumented
Declaration
Swift
case groupWasNotFound = 3
-
Undocumented
Declaration
Swift
case invalidGroup = 4
-
Undocumented
Declaration
Swift
case invalidChangeParticipants = 5
-
Undocumented
Declaration
Swift
case invalidParticipantsCount = 6
-
Undocumented
Declaration
Swift
case verificationFailed = 7
-
Undocumented
Declaration
Swift
case shortGroupId = 8
-
Undocumented
Declaration
Swift
case messageNotFromThisGroup = 9
-
Undocumented
Declaration
Swift
case groupIsOutdated = 10
-
Undocumented
Declaration
Swift
case inconsistentState = 11
-
Human-readable localized description
Declaration
Swift
public var errorDescription: String? { get }