NSFileProviderError.Code.deletionRejected
An error indicating a failed deletion action.
Declaration
case deletionRejectedDiscussion
If the user tries to delete an item, but your extension needs to reject the deletion (for example, due to a conflicting remote change), return an NSFileProviderError.Code.deletionRejected error. The system recreates the deleted item based on the latest metadata available from your extension.
Call the fileProviderErrorForRejectedDeletion(of:) method to create the error object.
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.nonEvictableChildrenNSFileProviderError.Code.unsyncedEdits