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 Codes

static var errorDomain: String

A string containing the error domain.

static var generationFailed: QLThumbnailError.Code

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

static var noCachedThumbnail: QLThumbnailError.Code

A low-quality thumbnail couldn’t be created.

static var noCloudThumbnail: QLThumbnailError.Code

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

static var requestCancelled: QLThumbnailError.Code

The request to create a thumbnail was canceled.

static var requestInvalid: QLThumbnailError.Code

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

static var savingToURLFailed: QLThumbnailError.Code

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