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.
failedToDecodeCounter: A Counter couldn't be created from the decoded Map.
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.
failedToCopyAttachment: The attachment copy failed.
attachmentCopyTargetAlreadyExists: The target file for the attachment copy already exists.
invalidCrdtType: An invalid CRDT type was encountered.
invalidValueForCrdt: An invalid value was encountered for a corresponding CRDT type.
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.
A Counter couldn't be created from the decoded Map.
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 initialized.
An invalid CRDT type was encountered.
The live query has not obtained a valid ID.
An invalid value was encountered for a corresponding CRDT type.
The document did not have an _id
when attempting to decode it.
Compilation of the provided query failed.