pub enum BuildError {
Show 17 variants
Plan(PlanError),
Graph(GraphBuildError<u32, u32>),
MissingSnapshotBytes,
EmptyEdges,
NodeCountOverflow,
EdgeCountOverflow,
EdgeCountMismatch,
MissingNodeKey,
MissingCsrSection {
kind: u32,
},
MissingMetadataSection,
MalformedMetadata(String),
MissingReverseIndex,
TopologyNodeCountMismatch,
TopologyEdgeCountMismatch,
MetadataNodeCountMismatch,
MetadataEdgeCountMismatch,
Spi(String),
}Expand description
Relational build or snapshot export failures.
Variants§
Plan(PlanError)
Snapshot planning failed.
Graph(GraphBuildError<u32, u32>)
CSR construction failed.
MissingSnapshotBytes
Engine build was invoked without snapshot bytes.
EmptyEdges
Build received no edge rows.
NodeCountOverflow
Distinct node count does not fit in u32 metadata.
EdgeCountOverflow
Edge count does not fit in u32 metadata.
EdgeCountMismatch
Forward and inbound edge counts diverged after transpose.
MissingNodeKey
An edge row referenced a node key that was not assigned.
MissingCsrSection
Required CSR section was absent during snapshot assembly.
MissingMetadataSection
Postgres metadata section was missing at engine open.
MalformedMetadata(String)
Section payload could not be interpreted.
MissingReverseIndex
Artifact metadata lacks the inbound CSC flag.
TopologyNodeCountMismatch
Forward and inbound node counts disagree at engine open.
TopologyEdgeCountMismatch
Forward and inbound edge counts disagree at engine open.
MetadataNodeCountMismatch
Forward node count disagrees with metadata.
MetadataEdgeCountMismatch
Forward edge count disagrees with metadata.
Spi(String)
SPI or extension boundary failure.
Trait Implementations§
Source§impl Debug for BuildError
impl Debug for BuildError
Source§impl Display for BuildError
impl Display for BuildError
Source§impl Error for BuildError
impl Error for BuildError
1.30.0 · 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()