MlsError

public enum MlsError : Swift.Error
extension MlsError: Equatable, Hashable
extension MlsError: Foundation.LocalizedError

Errors produced by the MLS layer.

  • The byte vector included in this error variant is the raw conversation id.

    We cannot provide a proper ConversationId instance because of a uniffi bug: https://github.com/mozilla/uniffi-rs/issues/2409.

    Declaration

    Swift

    case ConversationAlreadyExists(conversationId: Data
    )
  • Undocumented

    Declaration

    Swift

    case DuplicateMessage
  • Undocumented

    Declaration

    Swift

    case BufferedFutureMessage
  • Undocumented

    Declaration

    Swift

    case WrongEpoch
  • Undocumented

    Declaration

    Swift

    case BufferedCommit
  • Undocumented

    Declaration

    Swift

    case MessageEpochTooOld
  • Undocumented

    Declaration

    Swift

    case SelfCommitIgnored
  • Undocumented

    Declaration

    Swift

    case UnmergedPendingGroup
  • Undocumented

    Declaration

    Swift

    case StaleProposal
  • Undocumented

    Declaration

    Swift

    case StaleCommit
  • A Welcome message references a KeyPackage that has already been deleted locally.

    This happens when the distribution service cannot flag KeyPackages as claimed. A client requests its old KeyPackages to be deleted, but one has already been claimed by another client to create a Welcome. The only solution is for the recipient to join the group with an external commit instead.

    Declaration

    Swift

    case OrphanWelcome
  • Undocumented

    Declaration

    Swift

    case MessageRejected(reason: String
    )
  • Undocumented

    Declaration

    Swift

    case Other(msg: String
    )
  • Declaration

    Swift

    public var errorDescription: String? { get }