Enumeration

QLThumbnailError.Code

Error codes that may be returned when generating a thumbnail.

Declaration

enum QLThumbnailError.Code : Int, _ErrorCodeProtocol

Topics

Error Codes

case generationFailed

The thumbnail couldn’t be created for the given file.

case noCachedThumbnail

A low-quality thumbnail couldn’t be created.

case noCloudThumbnail

The thumbnail for a remote file couldn’t be created.

case requestCancelled

The request to create a thumbnail was canceled.

case requestInvalid

The request to create a thumbnail was invalid, for example, there’s no file at a provided URL.

case savingToURLFailed

The thumbnail couldn’t be saved at the given URL.

See Also

Error Information

let QLThumbnailErrorDomain: String

The error domain of the QuickLookThumbnailing framework.

struct QLThumbnailError

Error information that may be returned when generating a thumbnail.