NSFileProviderError.Code.nonEvictableChildren
An error indicating that the File Provider extension can’t evict a directory because it contains nonevictable items.
Declaration
case nonEvictableChildrenDiscussion
The NSFileProviderManager throws this error when you attempt to evict a directory that contains items that it can’t evict. The system sets the error’s underlyingErrors property to an array of errors that indicate the nonevictable content.
The underlyingErrors array contains the following possible values:
EBUSYThe item has an open file descriptor.
EMLINKThe item has too many hard links.
- NSFileProviderError.Code.nonEvictable
The File Provider has marked the item as nonevictable.
- NSFileProviderError.Code.unsyncedEdits
The item contains unsynced changes.
Each error has an NSURLErrorKey to identify the file or directory that the error affects.
See Also
Error codes
NSFileProviderError.Code.filenameCollisionNSFileProviderError.Code.insufficientQuotaNSFileProviderError.Code.noSuchItemNSFileProviderError.Code.notAuthenticatedNSFileProviderError.Code.serverUnreachableNSFileProviderError.Code.syncAnchorExpiredpageExpiredNSFileProviderError.Code.directoryNotEmptyNSFileProviderError.Code.providerNotFoundNSFileProviderError.Code.providerTranslocatedNSFileProviderError.Code.olderExtensionVersionRunningNSFileProviderError.Code.newerExtensionVersionFoundNSFileProviderError.Code.nonEvictableNSFileProviderError.Code.unsyncedEditsNSFileProviderError.Code.cannotSynchronize