Store Error Reason
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
The target file for the attachment copy already exists.
An error occurred with the storage backend (LMDB).
The document could not be found.
The attachment copy failed.
The document could not be decoded.
The value could not be decoded.
The provided value could not be encoded.
The directory that Ditto attempted to use for its persisted data could not be initialised.
The live query has not obtained a valid ID.
The document did not have an _id
when attempting to decode it.
Compilation of the provided query failed.