---
title: nonEvictable
framework: fileprovider
role: symbol
role_heading: Type Property
path: fileprovider/nsfileprovidererror/nonevictable
---

# nonEvictable

An error indicating that the File Provider extension can’t evict an item.

## Declaration

```swift
static var nonEvictable: NSFileProviderError.Code { get }
```

## Discussion

Discussion The NSFileProviderManager throws this error when you attempt to evict an item that doesn’t have the allowsEvicting capability. The system sets the error’s NSURLErrorKey to the URL of the item that the error affects.

## See Also

### Accessing error codes

- [NSFileProviderError.Code](fileprovider/nsfileprovidererror/code.md)
- [filenameCollision](fileprovider/nsfileprovidererror/filenamecollision.md)
- [insufficientQuota](fileprovider/nsfileprovidererror/insufficientquota.md)
- [noSuchItem](fileprovider/nsfileprovidererror/nosuchitem.md)
- [notAuthenticated](fileprovider/nsfileprovidererror/notauthenticated.md)
- [pageExpired](fileprovider/nsfileprovidererror/pageexpired.md)
- [serverUnreachable](fileprovider/nsfileprovidererror/serverunreachable.md)
- [syncAnchorExpired](fileprovider/nsfileprovidererror/syncanchorexpired.md)
- [directoryNotEmpty](fileprovider/nsfileprovidererror/directorynotempty.md)
- [providerNotFound](fileprovider/nsfileprovidererror/providernotfound.md)
- [providerTranslocated](fileprovider/nsfileprovidererror/providertranslocated.md)
- [olderExtensionVersionRunning](fileprovider/nsfileprovidererror/olderextensionversionrunning.md)
- [newerExtensionVersionFound](fileprovider/nsfileprovidererror/newerextensionversionfound.md)
- [nonEvictableChildren](fileprovider/nsfileprovidererror/nonevictablechildren.md)
- [unsyncedEdits](fileprovider/nsfileprovidererror/unsyncededits.md)
