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
-
Sent a bus message with the same destination/reliability before the previous send completed.
Declaration
Objective-C
DITBusSendBeforeCompletion = 23
-
Failed to send bus message.
Declaration
Objective-C
DITBusSendFailed = 24
-
Failed to open a stream to the requested peer.
Declaration
Objective-C
DITBusOpenStreamFailed = 25
-
The remote peer closed this BusStream.
Declaration
Objective-C
DITBusStreamClosedByRemote = 26
-
The local peer closed this BusStream.
Declaration
Objective-C
DITBusStreamClosedByLocal = 27
-
This BusStream closed due to a communication failure.
Declaration
Objective-C
DITBusStreamFailed = 28
-
Bus message cannot be sent as the payload is too large. (Unreliable max 4kB, reliable max 1MB)
Declaration
Objective-C
DITBusPayloadTooLarge = 29
-
Bus message cannot be sent as the queue is full.
Declaration
Objective-C
DITBusQueueFull = 30