ditto / live.ditto / DittoError / StoreErrorReason

StoreErrorReason

sealed class StoreErrorReason

The possible underlying reasons a .storeError error occurs.

Types

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 Ditto 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 _id when attempting to decode it.

object noIDPresentInDocument : StoreErrorReason

queryCompilationFailed

Compilation of the provided query failed.

data class queryCompilationFailed : StoreErrorReason