MlsError

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

Undocumented

  • 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(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
  • This happens when the DS cannot flag KeyPackages as claimed or not. It this scenario, a client requests their old KeyPackages to be deleted but one has already been claimed by another client to create a Welcome. In that case the only solution is that the client receiving such a Welcome tries to join the group with an External Commit instead

    Declaration

    Swift

    case OrphanWelcome
  • Message rejected by the delivery service

    Declaration

    Swift

    case MessageRejected(
        /**
         * Why was the message rejected by the delivery service?
         */reason: String
    )
  • Undocumented

    Declaration

    Swift

    case Other(String
    )
  • Declaration

    Swift

    public var errorDescription: String? { get }