StoreErrorReason

sealed class StoreErrorReason

The possible underlying reasons a StoreError occurs.

Types

Link copied to clipboard

The target file for the attachment copy already exists.

Link copied to clipboard
data class BackendError(val message: String) : DittoError.StoreErrorReason

An error occurred with the storage backend (LMDB).

Link copied to clipboard
object DocumentNotFound : DittoError.StoreErrorReason

The document could not be found.

Link copied to clipboard
data class FailedToCopyAttachment(val error: IOException) : DittoError.StoreErrorReason

The attachment copy failed.

Link copied to clipboard
data class FailedToDecodeCounter(val message: String) : DittoError.StoreErrorReason

A Counter couldn't be created from the decoded Map.

Link copied to clipboard
data class FailedToDecodeDocument(val error: Throwable) : DittoError.StoreErrorReason

The document could not be decoded.

Link copied to clipboard
data class FailedToDecodeValue(val error: Throwable) : DittoError.StoreErrorReason

The value could not be decoded.

Link copied to clipboard
data class FailedToEncodeValue(val value: Any, val message: String) : DittoError.StoreErrorReason

The provided value could not be encoded.

Link copied to clipboard
data class FailedToInitializeDittoDirectory(val error: Throwable) : DittoError.StoreErrorReason

The directory that Ditto attempted to use for its persisted data could not be initialized.

Link copied to clipboard
data class InvalidCrdtType(val message: String) : DittoError.StoreErrorReason

An invalid CRDT type was encountered.

Link copied to clipboard
data class InvalidLiveQueryId(val id: Int) : DittoError.StoreErrorReason

The live query has not obtained a valid identifier.

Link copied to clipboard
data class InvalidValueForCrdt(val message: String) : DittoError.StoreErrorReason

An invalid value was encountered for a corresponding CRDT type.

Link copied to clipboard
object NoIdPresentInDocument : DittoError.StoreErrorReason

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

Link copied to clipboard
object QueryArgumentsInvalid : DittoError.StoreErrorReason

The provided query arguments were invalid

Link copied to clipboard
data class QueryCompilationFailed(val query: String) : DittoError.StoreErrorReason

Compilation of the provided query failed.

Link copied to clipboard
data class QueryError(val message: String) : DittoError.StoreErrorReason

The query was invalid.

Link copied to clipboard
data class QueryInvalid(val message: String) : DittoError.StoreErrorReason

The query is invalid.

Link copied to clipboard
data class QueryNotSupported(val message: String) : DittoError.StoreErrorReason

The query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard