#[non_exhaustive]pub enum OutputContractError {
TooManyFiles {
found: usize,
limit: usize,
},
TooManyChecks {
found: usize,
limit: usize,
},
PredictionWithoutProvenance,
HistoricalPredictionInV2Output,
PredictionRevisionMismatch,
PredictionPrimaryInputMismatch,
TooManyPredictionFacets {
found: usize,
limit: usize,
},
FacetBudgetSummaryWithoutExhaustedFileBudget {
found: usize,
limit: usize,
},
TooManyPredictionBasisReferences {
found: usize,
limit: usize,
},
TooMuchPredictionText {
found: usize,
limit: usize,
},
ArithmeticOverflow,
InvalidPrediction(PredictionContractError),
}Expand description
A producer attempted to construct output outside the immutable v11 contract.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
TooManyFiles
One envelope carried too many file records.
TooManyChecks
One lint file carried too many check records.
PredictionWithoutProvenance
A check carried prediction evidence without its file-scoped authority.
HistoricalPredictionInV2Output
A current output-v15 lint record attempted to attach historical prediction evidence.
PredictionRevisionMismatch
File provenance and check prediction used different contract revisions.
PredictionPrimaryInputMismatch
File and provenance primary-input identities differed.
TooManyPredictionFacets
Aggregate prediction facets exceeded the V1 file limit.
FacetBudgetSummaryWithoutExhaustedFileBudget
A V2 rule emitted a budget summary although the file did not consume every one of its shared prediction-facet slots.
TooManyPredictionBasisReferences
Aggregate basis references exceeded the V1 file limit.
TooMuchPredictionText
Aggregate retained provenance/prediction text exceeded the V1 limit.
ArithmeticOverflow
Checked aggregate accounting overflowed.
InvalidPrediction(PredictionContractError)
Nested prediction evidence violated its contract.
Trait Implementations§
Source§impl Clone for OutputContractError
impl Clone for OutputContractError
Source§fn clone(&self) -> OutputContractError
fn clone(&self) -> OutputContractError
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 OutputContractError
impl Debug for OutputContractError
Source§impl Display for OutputContractError
impl Display for OutputContractError
impl Eq for OutputContractError
Source§impl Error for OutputContractError
impl Error for OutputContractError
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()