pub enum IngestError {
Store(StoreError),
EmptyBatch,
EpochMismatch(EpochMismatch),
EpochUndeclared,
EpochUnstamped,
StaleRevision {
doc_id: DocId,
current: Revision,
attempted: Revision,
},
RevisionConflict {
index: usize,
doc_id: DocId,
expected: ExpectedRevision,
current: Option<Revision>,
},
Vector(QuantError),
Lexical(IndexError),
Tokenizer(TokenizerError),
Columns(BuildError),
Payload(PayloadError),
}Expand description
Typed ingest rejection that leaves active state unchanged.
Variants§
Store(StoreError)
Lifecycle, access-mode, budget, or synchronization failure.
EmptyBatch
The caller supplied no document mutation.
EpochMismatch(EpochMismatch)
The batch’s declared interpretation differs from the store identity.
EpochUndeclared
The store is stamped but the batch did not declare its identity.
EpochUnstamped
The batch declared an identity for an unstamped store.
StaleRevision
The attempted revision precedes the highest active or sealed revision.
Fields
RevisionConflict
A document’s expected-revision condition did not hold; nothing was written.
Fields
expected: ExpectedRevisionThe caller’s condition.
Vector(QuantError)
A vector could not be quantized under the frozen Bit4 contract.
Lexical(IndexError)
The frozen analyzer or active lexical index rejected the text row.
Tokenizer(TokenizerError)
The frozen text analyzer configuration failed to compile.
Columns(BuildError)
Typed values did not satisfy the store’s declared schema.
Payload(PayloadError)
A WAL operation payload could not be encoded.
Trait Implementations§
Source§impl Debug for IngestError
impl Debug for IngestError
Source§impl Display for IngestError
impl Display for IngestError
Source§impl Error for IngestError
impl Error for IngestError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
use the Display impl or to_string()