StoreErrorReason

public enum StoreErrorReason

The possible underlying reasons a .storeError error occurs.

  • backendError: An error occurred with the storage backend (LMDB).
  • documentContentEncodingFailed: The provided document content failed to be encoded.
  • nonStringKeyInDocument: The document, represented as a CBOR map, had a key that was not a string.
  • invalidDocumentStructure: The document’s internal representation was invalid.
  • failedToDecodeData: Data could not be decoded.
  • failedToGetDocumentData: The document’s data at the specified path could not be obtained.
  • failedToGetDocumentIDData: The document ID’s data at the specified path could not be obtained.
  • failedToDecodeDocument: The document could not be decoded.
  • documentNotFound: The document could not be found.
  • attachmentDataRetrievalError: The attachment data failed to be retrieved.
  • attachmentFileCopyError: The attachment file failed to be copied.
  • queryError: The query was invalid.
  • quaryArgumentsInvalid: The query arguments were invalid.
  • invalidCRDTType: An invalid CRDT type was encountered.
  • invalidValueForCRDT: An invalid value was encountered for a corresponding CRDT type.