RelocationBatchError

public enum RelocationBatchError : CustomStringConvertible, JSONRepresentable

The RelocationBatchError union

  • An unspecified error.

    Declaration

    Swift

    case fromLookup(Files.LookupError)
  • An unspecified error.

    Declaration

    Swift

    case fromWrite(Files.WriteError)
  • An unspecified error.

    Declaration

    Swift

    case to(Files.WriteError)
  • Shared folders can’t be copied.

    Declaration

    Swift

    case cantCopySharedFolder
  • Your move operation would result in nested shared folders. This is not allowed.

    Declaration

    Swift

    case cantNestSharedFolder
  • You cannot move a folder into itself.

    Declaration

    Swift

    case cantMoveFolderIntoItself
  • The operation would involve more than 10,000 files and folders.

    Declaration

    Swift

    case tooManyFiles
  • There are duplicated/nested paths among fromPath in RelocationArg and toPath in RelocationArg.

    Declaration

    Swift

    case duplicatedOrNestedPaths
  • Your move operation would result in an ownership transfer. You may reissue the request with the field allowOwnershipTransfer in RelocationArg to true.

    Declaration

    Swift

    case cantTransferOwnership
  • The current user does not have enough space to move or copy the files.

    Declaration

    Swift

    case insufficientQuota
  • Something went wrong with the job on Dropbox’s end. You’ll need to verify that the action you were taking succeeded, and if not, try again. This should happen very rarely.

    Declaration

    Swift

    case internalError
  • Can’t move the shared folder to the given destination.

    Declaration

    Swift

    case cantMoveSharedFolder
  • Some content cannot be moved into Vault under certain circumstances, see detailed error.

    Declaration

    Swift

    case cantMoveIntoVault(Files.MoveIntoVaultError)
  • Some content cannot be moved into the Family Room folder under certain circumstances, see detailed error.

    Declaration

    Swift

    case cantMoveIntoFamily(Files.MoveIntoFamilyError)
  • An unspecified error.

    Declaration

    Swift

    case other
  • There are too many write operations in user’s Dropbox. Please retry this request.

    Declaration

    Swift

    case tooManyWriteOperations
  • Declaration

    Swift

    public var description: String { get }