LookupError

public enum LookupError : CustomStringConvertible, JSONRepresentable

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, we might restrict a file due to legal requirements.

    Declaration

    Swift

    case restrictedContent
  • An unspecified error.

    Declaration

    Swift

    case other
  • Declaration

    Swift

    public var description: String { get }