Store Error Reason
sealed class StoreErrorReason
Content copied to clipboard
The possible underlying reasons a .storeError
error occurs.
backendError: An error occurred with the storage backend (LMDB).
failedToEncodeValue: The value could not be encoded.
noIDPresentInDocument: The document did not have an
_id
when attempting to decode it.failedToDecodeDocument: The document could not be decoded.
failedToDecodeValue: The value could not be decoded.
queryCompilationFailed: Compilation of the provided query failed.
failedToInitialiseDittoDirectory: The directory that Ditto attempted to use for its persisted data could not be initialised.
invalidLiveQueryID: The live query has not obtained a valid ID.
documentNotFound: The document could not be found.
Types
attachmentCopyTargetAlreadyExists
Link copied to clipboard
data class attachmentCopyTargetAlreadyExists(error: FileAlreadyExistsException) : DittoError.StoreErrorReason
Content copied to clipboard
backendError
Link copied to clipboard
data class backendError(lmdbError: LMDBError) : DittoError.StoreErrorReason
Content copied to clipboard
documentNotFound
Link copied to clipboard
data class documentNotFound(id: DittoDocumentID) : DittoError.StoreErrorReason
Content copied to clipboard
failedToCopyAttachment
Link copied to clipboard
data class failedToCopyAttachment(error: IOException) : DittoError.StoreErrorReason
Content copied to clipboard
failedToDecodeDocument
Link copied to clipboard
data class failedToDecodeDocument(error: Throwable) : DittoError.StoreErrorReason
Content copied to clipboard
failedToDecodeValue
Link copied to clipboard
data class failedToDecodeValue(error: Throwable) : DittoError.StoreErrorReason
Content copied to clipboard
failedToEncodeValue
Link copied to clipboard
data class failedToEncodeValue(value: Any, error: JsonProcessingException) : DittoError.StoreErrorReason
Content copied to clipboard
failedToInitialiseDittoDirectory
Link copied to clipboard
data class failedToInitialiseDittoDirectory(error: Throwable) : DittoError.StoreErrorReason
Content copied to clipboard
invalidLiveQueryID
Link copied to clipboard
noIDPresentInDocument
Link copied to clipboard
queryCompilationFailed
Link copied to clipboard
data class queryCompilationFailed(query: String) : DittoError.StoreErrorReason
Content copied to clipboard
Inheritors
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard
DittoError.StoreErrorReason
Link copied to clipboard