SyncServerError
public enum SyncServerError : Error
Many of these only have internal meaning to the client interface. Some are documented because they can be useful to the code using the client.
-
If this is reported, it is diagnostic of a network error. It is not reported simply due to a check for a cellular data connection. i.e., no network was present and this may be the reason why.
Declaration
Swift
case noCellularDataConnection -
The network connection was lost.
Declaration
Swift
case noNetworkError -
The minimum server version you gave in
appLaunchSetupwas not met. Immediately this is raised as an error, the SyncServer client stops operating.Declaration
Swift
case badServerVersion(actualServerVersion: ServerVersion?) -
Declaration
Swift
case mimeTypeOfFileChanged -
Declaration
Swift
case noMimeType -
Declaration
Swift
case badMimeType -
Declaration
Swift
case downloadedFileVersionNotGreaterThanCurrent -
Declaration
Swift
case fileAlreadyDeleted -
Declaration
Swift
case fileGroupUUIDChanged -
Declaration
Swift
case fileQueuedForDeletion -
Declaration
Swift
case deletingUnknownFile -
Declaration
Swift
case getAttributesForUnknownFile -
Declaration
Swift
case syncIsOperating -
Declaration
Swift
case alreadyDownloadingAFile -
Declaration
Swift
case alreadyUploadingAFile -
Declaration
Swift
case couldNotFindFileUUID(String) -
Declaration
Swift
case versionForFileWasNil(fileUUUID: String) -
Declaration
Swift
case noRefreshAvailable -
Declaration
Swift
case couldNotCreateResponse -
Declaration
Swift
case couldNotCreateRequest -
Declaration
Swift
case didNotGetDownloadURL -
Declaration
Swift
case couldNotMoveDownloadFile -
Declaration
Swift
case couldNotCreateNewFile -
Declaration
Swift
case couldNotRemoveFileTracker -
Declaration
Swift
case badAppMetaData -
Declaration
Swift
case noExpectedResultKey -
Declaration
Swift
case nilResponse -
Declaration
Swift
case couldNotObtainHeaderParameters -
Declaration
Swift
case resultURLObtainedWasNil -
Declaration
Swift
case errorConvertingServerResponse -
Declaration
Swift
case jsonSerializationError(Error) -
Declaration
Swift
case urlSessionError(Error) -
Declaration
Swift
case couldNotGetHTTPURLResponse -
Declaration
Swift
case non200StatusCode(Int) -
Declaration
Swift
case badCheckCreds -
Declaration
Swift
case badAddUser -
Declaration
Swift
case appMetaDataUploadUndeletionAttempt -
Declaration
Swift
case sharingGroupUUIDInconsistent -
Declaration
Swift
case noSharingGroupUUID -
Declaration
Swift
case unknownServerError -
Declaration
Swift
case coreDataError(Error) -
Declaration
Swift
case otherError(Error) -
Declaration
Swift
case fileManagerError(Error) -
Declaration
Swift
case generic(String) -
Declaration
Swift
case couldNotComputeHash -
Declaration
Swift
case networkingHashMismatch -
-
Declaration
Swift
case credentialsRefreshError
View on GitHub
SyncServerError Enumeration Reference