Structure

NSFileProviderError

A structure that contains information about file provider errors.

Declaration

struct NSFileProviderError

Topics

Getting Error Properties

var errorCode: Int

The error code.

static var errorDomain: String

A string that identifies the error domain.

var errorUserInfo: [String : Any]

The user info dictionary.

var localizedDescription: String

A string containing the localized description of the error.

Error Codes

enum NSFileProviderError.Code

The codes for errors raised by the File Provider extension.

static var filenameCollision: NSFileProviderError.Code

An error indicating that an item with the same parentItemIdentifier and filename values already exists.

static var insufficientQuota: NSFileProviderError.Code

An error indicating that the item has not been uploaded because it would push the account over its quota.

static var noSuchItem: NSFileProviderError.Code

An error indicating that the specified item does not exist.

static var notAuthenticated: NSFileProviderError.Code

An error indicating that the user's credentials cannot be verified.

static var pageExpired: NSFileProviderError.Code

An error indicating that the page is too old, and that the system must restart the enumeration operation from the beginning.

static var serverUnreachable: NSFileProviderError.Code

An error indicating that the remote server is unreachable.

static var syncAnchorExpired: NSFileProviderError.Code

An error indicating that the sync anchor is too old, and that the system must restart the sync operation from the beginning.

Operator Functions

static func != (NSFileProviderError, NSFileProviderError) -> Bool

Returns a Boolean value indicating whether two values are not equal.

See Also

Errors

let NSFileProviderErrorDomain: String

The domain for errors raised by the File Provider extension.

let NSFileProviderErrorCollidingItemKey: String

The key for accessing the existing item from a filename collision error's userInfo property.

Deprecated