#[non_exhaustive]pub enum AdaptivePipelineError {
Show 17 variants
EmptyValue {
field: &'static str,
},
EmptyStatuses,
EmptyStages,
ZeroRuleApplications {
rule_id: String,
},
EmptyScheduledAction,
ZeroThrottleDelay,
RuleIdentityConflict {
id: String,
},
SnapshotSubjectMismatch {
expected: EntityId,
actual: EntityId,
},
MissingOutcomeEvidence {
evidence_id: EvidenceId,
},
MissingContributingEvidence {
rule_id: String,
},
ZeroTransitions,
ZeroActionSchedules,
DecisionSequenceMismatch {
expected: u32,
actual: u32,
},
CounterOverflow,
InvalidLedgerEntry {
field: &'static str,
},
Rule(RuleEngineError),
Reasoning(ReasoningModelError),
}Expand description
Validation and consistency errors raised by adaptive decisions.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
EmptyValue
A required rule, action, or explanation value was empty.
EmptyStatuses
An outcome selector contained no statuses.
EmptyStages
An outcome selector contained no verification stages.
ZeroRuleApplications
A rule application limit was zero.
EmptyScheduledAction
An invalid schedule directive contained no action identity.
ZeroThrottleDelay
A throttle directive had no delay.
RuleIdentityConflict
A rule identity was reused with different semantics.
SnapshotSubjectMismatch
The outcome and knowledge snapshot refer to different subjects.
Fields
MissingOutcomeEvidence
Outcome provenance was absent from the supplied snapshot.
Fields
evidence_id: EvidenceIdMissingContributingEvidence
A matched conditional rule cited no immutable evidence.
ZeroTransitions
Global transition limits must be positive.
ZeroActionSchedules
Per-action scheduling limits must be positive.
DecisionSequenceMismatch
A decision was recorded twice or out of order.
CounterOverflow
A ledger counter could not be incremented safely.
InvalidLedgerEntry
Persisted ledger state contained an invalid identity or counter.
Rule(RuleEngineError)
Expression evaluation failed.
Reasoning(ReasoningModelError)
A core reasoning-domain value was invalid.
Trait Implementations§
Source§impl Debug for AdaptivePipelineError
impl Debug for AdaptivePipelineError
Source§impl Display for AdaptivePipelineError
impl Display for AdaptivePipelineError
Source§impl Error for AdaptivePipelineError
impl Error for AdaptivePipelineError
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()