LegalHoldsPolicyCreateError

public enum LegalHoldsPolicyCreateError : CustomStringConvertible, JSONRepresentable

The LegalHoldsPolicyCreateError union

  • There has been an unknown legal hold error.

    Declaration

    Swift

    case unknownLegalHoldError
  • You don’t have permissions to perform this action.

    Declaration

    Swift

    case insufficientPermissions
  • An unspecified error.

    Declaration

    Swift

    case other
  • Start date must be earlier than end date.

    Declaration

    Swift

    case startDateIsLaterThanEndDate
  • The users list must have at least one user.

    Declaration

    Swift

    case emptyMembersList
  • Some members in the members list are not valid to be placed under legal hold.

    Declaration

    Swift

    case invalidMembers
  • You cannot add more than 5 users in a legal hold.

    Declaration

    Swift

    case numberOfUsersOnHoldIsGreaterThanHoldLimitation
  • Temporary infrastructure failure, please retry.

    Declaration

    Swift

    case transientError
  • The name provided is already in use by another legal hold.

    Declaration

    Swift

    case nameMustBeUnique
  • Team exceeded legal hold quota.

    Declaration

    Swift

    case teamExceededLegalHoldQuota
  • The provided date is invalid.

    Declaration

    Swift

    case invalidDate
  • Declaration

    Swift

    public var description: String { get }