SharePathError

public enum SharePathError : CustomStringConvertible

The SharePathError union

  • A file is at the specified path.

    Declaration

    Swift

    case isFile
  • We do not support sharing a folder inside a shared folder.

    Declaration

    Swift

    case insideSharedFolder
  • We do not support shared folders that contain shared folders.

    Declaration

    Swift

    case containsSharedFolder
  • We do not support shared folders that contain app folders.

    Declaration

    Swift

    case containsAppFolder
  • We do not support shared folders that contain team folders.

    Declaration

    Swift

    case containsTeamFolder
  • We do not support sharing an app folder.

    Declaration

    Swift

    case isAppFolder
  • We do not support sharing a folder inside an app folder.

    Declaration

    Swift

    case insideAppFolder
  • A public folder can’t be shared this way. Use a public link instead.

    Declaration

    Swift

    case isPublicFolder
  • A folder inside a public folder can’t be shared this way. Use a public link instead.

    Declaration

    Swift

    case insidePublicFolder
  • Folder is already shared. Contains metadata about the existing shared folder.

    Declaration

    Swift

    case alreadyShared(Sharing.SharedFolderMetadata)
  • Path is not valid.

    Declaration

    Swift

    case invalidPath
  • We do not support sharing a Mac OS X package.

    Declaration

    Swift

    case isOsxPackage
  • We do not support sharing a folder inside a Mac OS X package.

    Declaration

    Swift

    case insideOsxPackage
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }