#[non_exhaustive]pub enum PredictionContractError {
Show 66 variants
InvalidEngineContract(EngineContractError),
DuplicateProductionRule(String),
InvalidDependencyClosure(String),
TextTooLong {
field: &'static str,
bytes: usize,
limit: usize,
},
InvalidToken {
field: &'static str,
value: String,
},
NonFiniteNumber,
InvalidMeasurementPointer(String),
MeasurementPointerMissing(String),
MeasurementPointerNotScalar(String),
MeasurementValueMismatch(String),
TooManyMeasurementPointerComponents {
components: usize,
limit: usize,
},
RawSourceDomainKeyMismatch,
RawSourceRowNotFound,
RawSourceFieldUnavailable(String),
RawSourceValueMismatch,
ExactSourceTimingCoverageMismatch,
ExactSourceTimingClipPrefixMismatch,
InvalidExactSourceTimingObservation(&'static str),
ExactSourceTimingFieldUnavailable(String),
ExactSourceTimingValueMismatch,
TooManyBasisReferences {
found: usize,
limit: usize,
},
DuplicateBasisReference,
AvailableBasisEmpty,
AvailableHasReasons,
AvailableResultMissing,
UnavailableHasResult,
InvalidMachineResult(&'static str),
MachineResultRequiresRawSceneInventory,
InvalidRawSceneAttachmentBinding,
InvalidRawTransformPathInventory,
InvalidProjectIntent(&'static str),
RawSceneAttachmentBasisReferenceNotFound,
RequiredUnavailableWithoutReason,
DuplicateUnavailableReason(String),
InvalidUnavailableReasonCode(String),
TooManyUnavailableReasons {
found: usize,
limit: usize,
},
EmptyFacetList,
TooManyFacets {
found: usize,
limit: usize,
},
DuplicateFacetScope,
SourceFormatMismatch,
SourceFormatNotAccepted,
PrimaryInputMismatch,
DependencyClosureCoverageMismatch,
ProvenanceIdentityMismatch,
UnknownProfileFact(String),
UnknownResolvedSetting(String),
UnknownPrimarySource(String),
AvailableScopeNotEvaluatedExactlyOnce,
InvalidFacetBudgetSummary,
DuplicateFacetBudgetSummary,
EngineAddressabilityInventoryReasonsMismatch,
EngineAddressabilityFacetPrefixMismatch,
EngineClipBoundaryFacetMismatch,
EngineClipBoundaryFindingMismatch,
EngineUnitScaleFacetMismatch,
UnavailableScopeEvaluated,
UnavailableScopeDuplicatedAsGap,
FindingMissingPredictionScope,
FindingScopeNotAvailable,
IdentityMismatch {
contract: &'static str,
},
InvalidSchema {
field: &'static str,
expected: &'static str,
found: String,
},
NonCanonicalOrder(&'static str),
InvalidConsumedContracts,
TooMuchRetainedText {
found: usize,
limit: usize,
},
TooManyAggregateProvenanceRows {
found: usize,
limit: usize,
},
ArithmeticOverflow(&'static str),
}Expand description
A prediction/provenance value violated the immutable V1 contract.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
InvalidEngineContract(EngineContractError)
An embedded profile or settings value was invalid.
DuplicateProductionRule(String)
Catalog registration repeated one V2 production-rule id.
InvalidDependencyClosure(String)
An embedded dependency-closure wire was structurally valid but violated its immutable semantic contract.
TextTooLong
A retained string exceeded its per-value bound.
Fields
InvalidToken
A stable token was empty, contained controls, or used invalid syntax.
NonFiniteNumber
A finite-number scalar contained NaN or infinity.
InvalidMeasurementPointer(String)
A measurement pointer was not a canonical measurements-root RFC 6901 pointer.
MeasurementPointerMissing(String)
A measurement pointer did not resolve in the validated contract.
MeasurementPointerNotScalar(String)
A measurement pointer resolved to an object or array rather than a scalar.
MeasurementValueMismatch(String)
A measurement pointer’s retained scalar disagreed with the validated contract.
TooManyMeasurementPointerComponents
A measurement pointer exceeded its component bound.
RawSourceDomainKeyMismatch
A raw-source domain and stable key identify different row kinds.
RawSourceRowNotFound
The stable raw-source row key was absent from the same-load facts.
The field id does not name a scalar on the selected raw-source row.
RawSourceValueMismatch
The retained raw-source scalar disagrees with same-load facts.
ExactSourceTimingCoverageMismatch
Exact source timing and V1 source-clip coverage disagree.
ExactSourceTimingClipPrefixMismatch
Exact source clip rows were not a canonical zero-based retained prefix.
InvalidExactSourceTimingObservation(&'static str)
One exact source timing observation has an invalid state/disposition/provenance combination.
An exact source timing basis reference names no scalar in the embedded binding.
ExactSourceTimingValueMismatch
An exact source timing basis scalar disagrees with the embedded binding.
TooManyBasisReferences
One facet exceeded the per-facet basis-reference bound.
DuplicateBasisReference
Canonical basis rows contained an exact duplicate.
AvailableBasisEmpty
An available facet had no evidence basis.
AvailableHasReasons
An available facet carried an unavailable reason.
AvailableResultMissing
A V4 available facet omitted its mandatory machine result.
A V4 required-unavailable facet incorrectly carried a result.
InvalidMachineResult(&'static str)
A machine-result variant carried an incoherent field combination.
MachineResultRequiresRawSceneInventory
A result that consumes scene/attachment inventory lacked that authority.
InvalidRawSceneAttachmentBinding
Raw scene/attachment availability contradicted source format or identity.
InvalidRawTransformPathInventory
Raw transform-path inventory failed its immutable semantic validation.
InvalidProjectIntent(&'static str)
Effective root-motion project intent violated its immutable contract.
RawSceneAttachmentBasisReferenceNotFound
A V4 basis reference did not resolve in the bound raw scene inventory.
A required-unavailable facet carried no stable reason.
A reason list contained an exact duplicate.
A custom reason code was not a bounded namespaced ASCII code.
One facet exceeded the unavailable-reason bound.
EmptyFacetList
An engine prediction did not contain any facets.
TooManyFacets
One engine prediction exceeded the facet bound.
DuplicateFacetScope
Canonical facets reused a scope.
SourceFormatMismatch
The profile, raw-source binding, and header source formats disagreed.
SourceFormatNotAccepted
The resolved profile does not accept the same-load source format.
PrimaryInputMismatch
Raw-source and dependency-closure primary identities disagreed.
DependencyClosureCoverageMismatch
Raw resource coverage and the same-load dependency closure disagreed.
ProvenanceIdentityMismatch
A prediction refers to a different file provenance identity.
UnknownProfileFact(String)
A basis profile-fact id is absent from the embedded profile.
UnknownResolvedSetting(String)
A basis setting location/id is absent or contradicts the profile descriptor.
UnknownPrimarySource(String)
A basis primary-source id is absent from the embedded profile.
AvailableScopeNotEvaluatedExactlyOnce
An available facet scope was absent or duplicated in completed scopes.
InvalidFacetBudgetSummary
A V2 shared-file budget summary was not the canonical unavailable summary facet for its owning production rule.
DuplicateFacetBudgetSummary
A V2 production rule emitted more than one shared-file budget summary.
EngineAddressabilityInventoryReasonsMismatch
The current engine-addressability inventory did not carry the exact raw/settings incompleteness reasons implied by its V2 provenance.
EngineAddressabilityFacetPrefixMismatch
The current engine-addressability available facets did not retain the canonical source-index prefix.
EngineClipBoundaryFacetMismatch
The current engine-clip-boundary facets did not match the exact timing rows, availability states, reasons, or canonical evidence bases implied by V3 provenance.
EngineClipBoundaryFindingMismatch
The current engine-clip-boundary findings did not identify exactly the available source-clip ends outside their exact frame lattice.
EngineUnitScaleFacetMismatch
The current engine-unit-scale facets did not match the exact profile, rule-input, raw-inventory, and measurement evidence embedded in V15.
A required-unavailable facet scope was also reported as completed.
A required-unavailable facet was duplicated as an ordinary coverage gap.
FindingMissingPredictionScope
A prediction-bearing finding lacked its required facet binding.
FindingScopeNotAvailable
A finding scope did not name exactly one available facet.
IdentityMismatch
A canonical identity did not match its recomputed preimage.
InvalidSchema
A schema field did not carry its immutable V1 identity.
Fields
NonCanonicalOrder(&'static str)
A canonical ordered collection was supplied out of order.
InvalidConsumedContracts
The exact derived consumed-contract inventory was changed.
TooMuchRetainedText
Aggregate retained text exceeded its file bound.
TooManyAggregateProvenanceRows
Aggregate embedded profile, settings, and raw-source rows exceeded the file bound.
ArithmeticOverflow(&'static str)
Checked accounting overflowed.
Trait Implementations§
Source§impl Clone for PredictionContractError
impl Clone for PredictionContractError
Source§fn clone(&self) -> PredictionContractError
fn clone(&self) -> PredictionContractError
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 PredictionContractError
impl Debug for PredictionContractError
Source§impl Display for PredictionContractError
impl Display for PredictionContractError
impl Eq for PredictionContractError
Source§impl Error for PredictionContractError
impl Error for PredictionContractError
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()