StoreErrorReason
public enum StoreErrorReason
The possible underlying reasons a .storeError
error occurs.
-
The attachment data failed to be retrieved.
Declaration
Swift
case attachmentDataRetrievalError(error: Error)
-
The attachment file failed to be copied.
Declaration
Swift
case attachmentFileCopyError(error: Error)
-
Attachment file could not be found.
Declaration
Swift
case attachmentFileNotFound(message: String)
-
Permission has been denied for a file operation.
Declaration
Swift
case attachmentFilePermissionDenied(message: String)
-
Attachment could not be found.
Declaration
Swift
case attachmentNotFound(message: String)
-
Attachment token is invalid.
Declaration
Swift
case attachmentTokenInvalid(message: String)
-
An unclassified error occured while creating an attachment.
Declaration
Swift
case failedToCreateAttachment(message: String)
-
An unclassified error occured while fetching an attachment.
Declaration
Swift
case failedToFetchAttachment(message: String)
-
An error occurred with the storage backend (LMDB).
Declaration
Swift
case backendError(message: String)
-
A generic CRDT error occurred.
Declaration
Swift
case crdtError(message: String)
-
The provided document content failed to be encoded.
Declaration
Swift
case documentContentEncodingFailed(error: Error?)
-
The document could not be found.
Declaration
Swift
case documentNotFound
-
Data could not be decoded.
Declaration
Swift
case failedToDecodeData(error: Error?, data: [UInt8])
-
The document could not be decoded.
Declaration
Swift
case failedToDecodeDocument(error: Error)
-
The document’s data at the specified path could not be obtained.
Declaration
Swift
case failedToGetDocumentData(path: String)
-
The document ID’s data at the specified path could not be obtained.
Declaration
Swift
case failedToGetDocumentIDData(path: String)
-
An invalid CRDT type was encountered.
Declaration
Swift
case invalidCRDTType(message: String)
-
The document’s internal representation was invalid.
Declaration
Swift
case invalidDocumentStructure(cbor: CBOR)
-
An invalid value was encountered for a corresponding CRDT type.
Declaration
Swift
case invalidValueForCRDT(message: String)
-
The document, represented as a CBOR map, had a key that was not a string.
Declaration
Swift
case nonStringKeyInDocument(key: CBOR)
-
The query arguments were invalid.
Declaration
Swift
case queryArgumentsInvalid
-
An error occured executing a query.
Declaration
Swift
case queryError(message: String)
-
The query is invalid.
Declaration
Swift
case queryInvalid(message: String)
-
The query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context.
Declaration
Swift
case queryNotSupported(message: String)