pub enum GraphBuildError {
Show 14 variants
Profile(GraphProfileError),
CheckpointIo {
path: PathBuf,
source: Error,
},
CheckpointCorrupt(String),
BudgetExhausted {
rows_completed: u64,
},
UnitNorm {
row_id: u32,
squared_norm: f64,
tolerance: f64,
},
Cancelled {
partial: bool,
},
Timeout {
partial: bool,
},
ReadCancelled {
partial: bool,
},
Segment(SegmentError),
Quant(QuantError),
NodeBlock(GraphNodeError),
Geometry(String),
NodeIdOutOfRange {
node_id: u32,
node_count: u32,
},
Store(StoreError),
}Expand description
Typed failure from construction before any graph artifact is published.
Variants§
Profile(GraphProfileError)
The pinned epoch has no measured graph-construction profile.
CheckpointIo
Reading, replacing, or removing the resumable checkpoint failed.
Fields
CheckpointCorrupt(String)
Checkpoint bytes failed their closed contract and were removed for a fresh retry.
BudgetExhausted
A caller work limit stopped after atomically checkpointing completed batches.
UnitNorm
An angular segment carried a finite f32 row outside the unit-norm band.
Fields
Cancelled
Caller cancellation stopped a batch without publishing partial results.
Timeout
A deadline stopped a batch without publishing partial results.
ReadCancelled
Store close stopped a batch before its snapshot could be released.
Segment(SegmentError)
The sealed segment did not expose valid Bit4 or f32 regions.
Quant(QuantError)
A Bit4 query or score failed validation.
NodeBlock(GraphNodeError)
The frozen node-block writer rejected constructed values.
Geometry(String)
Checked row, dimension, or allocation geometry was invalid.
NodeIdOutOfRange
A graph node id was checked before address arithmetic and was out of range.
Store(StoreError)
Store budget or accounting rejected the graph construction arena.
Trait Implementations§
Source§impl Debug for GraphBuildError
impl Debug for GraphBuildError
Source§impl Display for GraphBuildError
impl Display for GraphBuildError
Source§impl Error for GraphBuildError
impl Error for GraphBuildError
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()