pub enum GraphContractError {
Show 16 variants
InvalidProjectInstanceId {
reason: &'static str,
},
InvalidIdentityText {
reason: &'static str,
},
InvalidRepositoryPath(CoreError),
InvalidStableKeyDigest,
InvalidResolutionKeyDomain,
InvalidResolutionKeyIdentity,
StableKeyCollision {
digest: String,
},
ProjectQualificationMismatch,
ResolutionKeyOwnerMismatch,
CrossProjectRelation,
GenerationMismatch {
context: &'static str,
},
InvalidGeneration,
InvalidResolution {
reason: &'static str,
},
InvalidSourceSpan {
reason: &'static str,
},
InvalidCoverage {
reason: &'static str,
},
InvalidLimits {
reason: &'static str,
},
}Expand description
Failure while constructing or reconciling typed graph contracts.
Variants§
InvalidProjectInstanceId
A project instance identifier was malformed or used the zero sentinel.
InvalidIdentityText
An identity component was blank, padded, too large, or contained control data.
InvalidRepositoryPath(CoreError)
An existing repository path validator rejected a graph path.
InvalidStableKeyDigest
A persisted stable key digest did not match its canonical identity.
InvalidResolutionKeyDomain
A persisted canonical resolution-key domain was not supported.
InvalidResolutionKeyIdentity
A portable canonical resolution identity was malformed or oversized.
StableKeyCollision
Two distinct canonical identities claimed the same compact key.
ProjectQualificationMismatch
A persisted entity key did not retain its project-qualified prefix.
ResolutionKeyOwnerMismatch
A canonical resolution key and its graph owner belonged to different projects.
CrossProjectRelation
A resolved relationship crossed project identity without federation.
GenerationMismatch
Related graph records did not belong to one complete publication.
InvalidGeneration
A derived graph record claimed the pre-publication zero generation.
InvalidResolution
A resolution retained a target or selector that did not identify one entity.
InvalidSourceSpan
A source span used an invalid line or ordering.
InvalidCoverage
Coverage state and counts disagreed.
InvalidLimits
A query budget was zero or exceeded the absolute product ceiling.