LookupError

public enum LookupError : CustomStringConvertible, JSONRepresentable

The LookupError union

  • The given path does not satisfy the required path format. Please refer to the Path formats documentation https://www.dropbox.com/developers/documentation/http/documentation#path-formats for more information.

    Declaration

    Swift

    case malformedPath(String?)
  • There is nothing at the given path.

    Declaration

    Swift

    case notFound
  • We were expecting a file, but the given path refers to something that isn’t a file.

    Declaration

    Swift

    case notFile
  • We were expecting a folder, but the given path refers to something that isn’t a folder.

    Declaration

    Swift

    case notFolder
  • The file cannot be transferred because the content is restricted. For example, we might restrict a file due to legal requirements.

    Declaration

    Swift

    case restrictedContent
  • This operation is not supported for this content type.

    Declaration

    Swift

    case unsupportedContentType
  • The given path is locked.

    Declaration

    Swift

    case locked
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }