Structure

QLThumbnailError

Error information that may be returned when generating a thumbnail.

Declaration

struct QLThumbnailError

Topics

Getting Information About the Error

var errorCode: Int

The error code.

var errorUserInfo: [String : Any]

The user info dictionary.

var localizedDescription: String

A string containing the localized description of the error.

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.

Enumerations

enum QLThumbnailError.Code

Error codes that may be returned when generating a thumbnail.

See Also

Error Information

let QLThumbnailErrorDomain: String

The error domain of the QuickLookThumbnailing framework.

enum QLThumbnailError.Code

Error codes that may be returned when generating a thumbnail.