sealed class StoreErrorReason
The possible underlying reasons a .storeError
error occurs.
_id
when attempting to decode it.
attachmentCopyTargetAlreadyExists |
The target file for the attachment copy already exists. data class attachmentCopyTargetAlreadyExists : StoreErrorReason |
backendError |
An error occurred with the storage backend (LMDB). data class backendError : StoreErrorReason |
documentNotFound |
The document could not be found. data class documentNotFound : StoreErrorReason |
failedToCopyAttachment |
The attachment copy failed. data class failedToCopyAttachment : StoreErrorReason |
failedToDecodeDocument |
The document could not be decoded. data class failedToDecodeDocument : StoreErrorReason |
failedToDecodeValue |
The value could not be decoded. data class failedToDecodeValue : StoreErrorReason |
failedToEncodeValue |
The provided value could not be encoded. data class failedToEncodeValue : StoreErrorReason |
failedToInitialiseDittoDirectory |
The directory that DittoKit attempted to use for its persisted data could not be initialised. data class failedToInitialiseDittoDirectory : StoreErrorReason |
invalidLiveQueryID |
The live query has not obtained a valid ID. data class invalidLiveQueryID : StoreErrorReason |
noIDPresentInDocument |
The document did not have an object noIDPresentInDocument : StoreErrorReason |
queryCompilationFailed |
Compilation of the provided query failed. data class queryCompilationFailed : StoreErrorReason |