DITErrorCode
enum DITErrorCode : NSInteger {}
All of the error code values for NSError
‘s with the DITDomain
domain.
-
An error occurred with the storage backend.
Declaration
Objective-C
DITStorageInteralError = 10
-
The document could not be found.
Declaration
Objective-C
DITDocumentNotFoundError = 11
-
The provided document content failed to be encoded.
Declaration
Objective-C
DITDocumentContentEncodingFailed = 12
-
The request to get transport diagnostics failed.
Declaration
Objective-C
DITTransportDiagnosticsUnavailable = 13
-
Decoding of transport diagnostics data failed.
Declaration
Objective-C
DITTransportDiagnosticsDecodingFailed = 14
-
The attachment’s data could not be retrieved.
Declaration
Objective-C
DITAttachmentDataRetrievalError = 15
-
The attachment file failed to be copied.
Declaration
Objective-C
DITAttachmentFileCopyError = 16
-
There was an error with a query.
Declaration
Objective-C
DITQueryError = 17
-
The Ditto instance has not yet been activated, which is achieved via a successful call to
setLicenseToken
.Declaration
Objective-C
DITNotActivatedError = 18
-
The provided license token has expired.
Declaration
Objective-C
DITLicenseTokenExpiredError = 19
-
Verification of the provided license token failed.
Declaration
Objective-C
DITLicenseTokenVerificationFailedError = 20
-
The provided license token is in an unsupported future format.
Declaration
Objective-C
DITLicenseTokenUnsupportedFutureVersionError = 21
-
Failed to authenticate with remote server.
Declaration
Objective-C
DITFailedToAuthenticateError = 22