ditto-lib / live.ditto / DittoKitError / StoreErrorReason

StoreErrorReason

sealed class StoreErrorReason

The possible underlying reasons a .storeError error occurs.

Types

attachmentCopyTargetAlreadyExists

data class attachmentCopyTargetAlreadyExists : DittoKitError.StoreErrorReason

The target file for the attachment copy already exists.

backendError

data class backendError : DittoKitError.StoreErrorReason

An error occurred with the storage backend (LMDB).

documentNotFound

data class documentNotFound : DittoKitError.StoreErrorReason

The document could not be found.

failedToCopyAttachment

data class failedToCopyAttachment : DittoKitError.StoreErrorReason

The attachment copy failed.

failedToDecodeDocument

data class failedToDecodeDocument : DittoKitError.StoreErrorReason

The document could not be decoded.

failedToDecodeValue

data class failedToDecodeValue : DittoKitError.StoreErrorReason

The value could not be decoded.

failedToEncodeValue

data class failedToEncodeValue : DittoKitError.StoreErrorReason

The provided value could not be encoded.

failedToInitialiseDittoDirectory

data class failedToInitialiseDittoDirectory : DittoKitError.StoreErrorReason

The directory that DittoKit attempted to use for its persisted data could not be initialised.

invalidLiveQueryID

data class invalidLiveQueryID : DittoKitError.StoreErrorReason

The live query has not obtained a valid ID.

noIDPresentInDocument

object noIDPresentInDocument : DittoKitError.StoreErrorReason

The document did not have an _id when attempting to decode it.

queryCompilationFailed

data class queryCompilationFailed : DittoKitError.StoreErrorReason

Compilation of the provided query failed.

Inheritors

attachmentCopyTargetAlreadyExists

data class attachmentCopyTargetAlreadyExists : DittoKitError.StoreErrorReason

The target file for the attachment copy already exists.

backendError

data class backendError : DittoKitError.StoreErrorReason

An error occurred with the storage backend (LMDB).

documentNotFound

data class documentNotFound : DittoKitError.StoreErrorReason

The document could not be found.

failedToCopyAttachment

data class failedToCopyAttachment : DittoKitError.StoreErrorReason

The attachment copy failed.

failedToDecodeDocument

data class failedToDecodeDocument : DittoKitError.StoreErrorReason

The document could not be decoded.

failedToDecodeValue

data class failedToDecodeValue : DittoKitError.StoreErrorReason

The value could not be decoded.

failedToEncodeValue

data class failedToEncodeValue : DittoKitError.StoreErrorReason

The provided value could not be encoded.

failedToInitialiseDittoDirectory

data class failedToInitialiseDittoDirectory : DittoKitError.StoreErrorReason

The directory that DittoKit attempted to use for its persisted data could not be initialised.

invalidLiveQueryID

data class invalidLiveQueryID : DittoKitError.StoreErrorReason

The live query has not obtained a valid ID.

noIDPresentInDocument

object noIDPresentInDocument : DittoKitError.StoreErrorReason

The document did not have an _id when attempting to decode it.

queryCompilationFailed

data class queryCompilationFailed : DittoKitError.StoreErrorReason

Compilation of the provided query failed.