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