LookupError

public enum LookupError : CustomStringConvertible

The LookupError union

  • An unspecified error.

    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, sometimes there are legal restrictions due to copyright claims.

    Declaration

    Swift

    case restrictedContent
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }