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)
-
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)