public final class NSFileProviderErrorCode
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
FilenameCollision
An item already exists with the same parentItemIdentifier and filename (or with a filename differing only in case.)
|
static long |
InsufficientQuota
The item has not been uploaded because it would push the account over quota
|
static long |
NonEvictable
Returned by NSFileProviderManager if item eviction is failing because the item has not been assigned the evictable capability.
|
static long |
NonEvictableChildren
Returned by NSFileProviderManager if directory eviction failed because the target contains non-evictable items.
|
static long |
NoSuchItem
The requested item doesn't exist
|
static long |
NotAuthenticated
The user credentials cannot be verified
|
static long |
PageExpired
The value of the page token is too old, and the system must re-sync from scratch
|
static long |
ServerUnreachable
Connecting to the servers failed
|
static long |
SyncAnchorExpired
The value of the sync anchor is too old, and the system must re-sync from scratch
|
static long |
UnsyncedEdits
Returned by NSFileProviderManager if item eviction is failing because the item has edits that have not been synced yet
|
public static final long NotAuthenticated
public static final long FilenameCollision
\note Please use -[NSError (NSFileProviderError) fileProviderErrorForCollisionWithItem:] to build an error with this code. \see -[NSError (NSFileProviderError) fileProviderErrorForCollisionWithItem:]
public static final long SyncAnchorExpired
public static final long PageExpired
public static final long InsufficientQuota
public static final long ServerUnreachable
public static final long NoSuchItem
\note Please use -[NSError (NSFileProviderError) fileProviderErrorForNonExistentItemWithIdentifier:] to build an error with this code. \see -[NSError (NSFileProviderError) fileProviderErrorForNonExistentItemWithIdentifier:]
public static final long NonEvictableChildren
-[NSError underlyingErrors] is set to an array of the underlying errors. Each one has NSURLErrorKey set to identify the particular file or directory affected by this error. The number of reported failing items is capped to an implementation-defined number.
+ domain: NSFileProviderErrorDomain errorCode: NSFileProviderErrorUnsyncedEdits error: if the item had unsynced content. + domain: NSFileProviderErrorDomain errorCode: NSFileProviderErrorNonEvictable error: if the item has been marked as non-purgeable by the provider. + domain: NSPOSIXErrorDomain errorCode: EBUSY - if the item had open file descriptors on it. + domain: NSPOSIXErrorDomain errorCode: EMLINK : if the item had several hardlinks.
public static final long UnsyncedEdits
The NSURLErrorKey will be set to with the item URL that has unsynced content.
public static final long NonEvictable
The NSURLErrorKey will be set to with the corresponding item URL.