Interface DittoException.StoreExceptionReason
- All Known Implementing Classes:
DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists,DittoException.StoreExceptionReason.AttachmentDataRetrievalError,DittoException.StoreExceptionReason.AttachmentFileCopyError,DittoException.StoreExceptionReason.AttachmentFileNotFound,DittoException.StoreExceptionReason.AttachmentFilePermissionDenied,DittoException.StoreExceptionReason.AttachmentNotFound,DittoException.StoreExceptionReason.AttachmentTokenInvalid,DittoException.StoreExceptionReason.BackendError,DittoException.StoreExceptionReason.CrdtError,DittoException.StoreExceptionReason.DocumentContentEncodingFailed,DittoException.StoreExceptionReason.DocumentNotFound,DittoException.StoreExceptionReason.FailedToCopyAttachment,DittoException.StoreExceptionReason.FailedToCreateAttachment,DittoException.StoreExceptionReason.FailedToDecodeCounter,DittoException.StoreExceptionReason.FailedToDecodeData,DittoException.StoreExceptionReason.FailedToDecodeDocument,DittoException.StoreExceptionReason.FailedToDecodeValue,DittoException.StoreExceptionReason.FailedToEncodeValue,DittoException.StoreExceptionReason.FailedToFetchAttachment,DittoException.StoreExceptionReason.FailedToGetDocumentData,DittoException.StoreExceptionReason.FailedToGetDocumentIDData,DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory,DittoException.StoreExceptionReason.InvalidCrdtType,DittoException.StoreExceptionReason.InvalidDocumentStructure,DittoException.StoreExceptionReason.InvalidLiveQueryId,DittoException.StoreExceptionReason.InvalidValueForCrdt,DittoException.StoreExceptionReason.NoIdPresentInDocument,DittoException.StoreExceptionReason.NonStringKeyInDocument,DittoException.StoreExceptionReason.PersistenceDirectoryLocked,DittoException.StoreExceptionReason.QueryArgumentsInvalid,DittoException.StoreExceptionReason.QueryCompilationFailed,DittoException.StoreExceptionReason.QueryError,DittoException.StoreExceptionReason.QueryInvalid,DittoException.StoreExceptionReason.QueryNotSupported,DittoException.StoreExceptionReason.TransactionReadOnly
- Enclosing class:
DittoException
public static sealed interface DittoException.StoreExceptionReason
permits DittoException.StoreExceptionReason.AttachmentFilePermissionDenied, DittoException.StoreExceptionReason.AttachmentFileNotFound, DittoException.StoreExceptionReason.AttachmentNotFound, DittoException.StoreExceptionReason.AttachmentTokenInvalid, DittoException.StoreExceptionReason.FailedToCreateAttachment, DittoException.StoreExceptionReason.FailedToFetchAttachment, DittoException.StoreExceptionReason.AttachmentCopyTargetAlreadyExists, DittoException.StoreExceptionReason.AttachmentDataRetrievalError, DittoException.StoreExceptionReason.AttachmentFileCopyError, DittoException.StoreExceptionReason.BackendError, DittoException.StoreExceptionReason.CrdtError, DittoException.StoreExceptionReason.DocumentContentEncodingFailed, DittoException.StoreExceptionReason.DocumentNotFound, DittoException.StoreExceptionReason.FailedToCopyAttachment, DittoException.StoreExceptionReason.FailedToDecodeCounter, DittoException.StoreExceptionReason.FailedToDecodeData, DittoException.StoreExceptionReason.FailedToDecodeDocument, DittoException.StoreExceptionReason.FailedToDecodeValue, DittoException.StoreExceptionReason.FailedToGetDocumentData, DittoException.StoreExceptionReason.FailedToGetDocumentIDData, DittoException.StoreExceptionReason.FailedToEncodeValue, DittoException.StoreExceptionReason.FailedToInitializeDittoDirectory, DittoException.StoreExceptionReason.InvalidCrdtType, DittoException.StoreExceptionReason.InvalidDocumentStructure, DittoException.StoreExceptionReason.InvalidLiveQueryId, DittoException.StoreExceptionReason.InvalidValueForCrdt, DittoException.StoreExceptionReason.NoIdPresentInDocument, DittoException.StoreExceptionReason.NonStringKeyInDocument, DittoException.StoreExceptionReason.QueryArgumentsInvalid, DittoException.StoreExceptionReason.TransactionReadOnly, DittoException.StoreExceptionReason.QueryCompilationFailed, DittoException.StoreExceptionReason.QueryError, DittoException.StoreExceptionReason.QueryInvalid, DittoException.StoreExceptionReason.QueryNotSupported, DittoException.StoreExceptionReason.PersistenceDirectoryLocked
The possible underlying reasons a
DittoException.StoreException occurs.-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordThe target file for the attachment copy already exists.static final recordThe attachment data failed to be retrieved.static final recordThe attachment file failed to be copied.static final recordThe given attachment file could not be found.static final recordThe attachment could not be found.static final recordThe attachment could not be found.static final recordThe attachment token was invalid.static final recordAn error occurred with the storage backend (LMDB).static final recordA generic CRDT error occurred.static final recordThe provided document content failed to be encoded.static final recordThe document could not be found.static final recordThe attachment copy failed.static final recordA problem occurred creating the attachment.static final recordA Counter couldn't be created from the decoded Map.static final recordData could not be decoded.static final recordThe document could not be decoded.static final recordThe value could not be decoded.static final recordThe provided value could not be encoded.static final recordA problem occurred fetching the attachment.static final recordThe document's data at the specified path could not be obtained.static final recordThe document ID's data at the specified path could not be obtained.static final recordThe directory that Ditto attempted to use for its persisted data could not be initialized.static final recordAn invalid CRDT type was encountered.static final recordThe document's internal representation was invalid.static final recordThe live query has not obtained a valid identifier.static final recordAn invalid value was encountered for a corresponding CRDT type.static final recordThe document did not have an_idkey when attempting to decode it.static final recordThe document, represented as a CBOR map, had a key that was not a string.static final recordThe chosen persistence directory is already in use by anotherDittoinstance.static final recordThe provided query arguments were invalidstatic final recordCompilation of the provided query failed.static final recordThe query was invalid.static final recordThe query is invalid.static final recordThe query is syntactically valid but uses features that are either not supported at all yet or not supported in a particular context.static final record