ditto-lib / live.ditto / DittoKitError / StoreErrorReason

StoreErrorReason

sealed class StoreErrorReason

The possible underlying reasons a .storeError error occurs.

Types

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.

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.

invalidOperationForDocumentInnerValueType

data class invalidOperationForDocumentInnerValueType<T : Any> : DittoKitError.StoreErrorReason

An operation was attempted on a document whose inner value type is incompatible with the operation.

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

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.

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.

invalidOperationForDocumentInnerValueType

data class invalidOperationForDocumentInnerValueType<T : Any> : DittoKitError.StoreErrorReason

An operation was attempted on a document whose inner value type is incompatible with the operation.

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.