pub enum GraphSearchError {
Show 14 variants
Geometry(String),
Profile(GraphProfileError),
Graph(GraphNodeError),
Quant(QuantError),
Gather(GatherShapeError),
AdaptiveEf(AdaptiveEfError),
Rescore(RescoreError),
FilteredCandidateShortfall {
k: usize,
candidates: usize,
counters: GraphSearchCounters,
},
ExactRescoreUnavailable(String),
VisitedCapExceeded {
visited: usize,
cap: usize,
},
Cancelled {
partial: bool,
},
Timeout {
partial: bool,
},
ReadCancelled {
partial: bool,
},
Scan(ScanError),
}Expand description
Typed graph traversal rejection.
Variants§
Geometry(String)
Request shape or graph/rescore geometry is invalid.
Profile(GraphProfileError)
The pinned epoch has no measured automatic graph profile.
Graph(GraphNodeError)
A validated node became unavailable through the fixed-stride view.
Quant(QuantError)
Query preparation or Bit4 scoring rejected the input.
Gather(GatherShapeError)
The four-row gather boundary rejected a graph/query shape mismatch.
AdaptiveEf(AdaptiveEfError)
Adaptive or explicit ef resolution rejected the request.
Rescore(RescoreError)
The canonical f32 pool-rescore path rejected its inputs.
FilteredCandidateShortfall
A filtered traversal retained fewer allowed rows than the requested result count.
Fields
counters: GraphSearchCountersExact work performed by that original traversal before refusal.
Chunk-local integrity validation rejected exact-rescore bytes.
VisitedCapExceeded
Unfiltered traversal crossed the Task-16 collapse guard; M6 owns fallback.
Fields
Cancelled
The caller cancelled traversal; partial answers are never returned.
Timeout
The query deadline expired; partial answers are never returned.
ReadCancelled
Store close cancelled the admitted read; partial answers are never returned.
Scan(ScanError)
An unexpected scan-layer cancellation check failed.
Trait Implementations§
Source§impl Clone for GraphSearchError
impl Clone for GraphSearchError
Source§fn clone(&self) -> GraphSearchError
fn clone(&self) -> GraphSearchError
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GraphSearchError
impl Debug for GraphSearchError
Source§impl Display for GraphSearchError
impl Display for GraphSearchError
Source§impl Error for GraphSearchError
impl Error for GraphSearchError
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()