PreviewError

public enum PreviewError : CustomStringConvertible

The PreviewError union

  • An error occurs when downloading metadata for the file.

    Declaration

    Swift

    case path(Files.LookupError)
  • This preview generation is still in progress and the file is not ready for preview yet.

    Declaration

    Swift

    case inProgress
  • The file extension is not supported preview generation.

    Declaration

    Swift

    case unsupportedExtension
  • The file content is not supported for preview generation.

    Declaration

    Swift

    case unsupportedContent
  • Declaration

    Swift

    public var description: String { get }