#[non_exhaustive]pub enum StandardWebDecisionRuntimeError {
Show 18 variants
AlreadyStarted,
Planner(PlannerError),
Decision(DecisionLoopError),
Experience(ExperienceStoreError),
Reasoning(ReasoningModelError),
Verification(VerificationError),
Http(HttpEvidenceError),
Profile(StandardWebDecisionError),
ApiReasoning(StandardApiReasoningError),
NativeWebReviewDecisionProfile,
NativeWebReviewExecutionProfile,
ResourceAuthorizationReviewComposition,
Runner(DecisionRunnerError),
ResponseUsageEvidence {
case_id: String,
predicate: &'static str,
observations: usize,
receipt: Box<DecisionEvidenceReceipt>,
},
AssessmentDefenseProjectionInvariant {
receipt: Box<DecisionEvidenceReceipt>,
},
AssessmentDefensePlanningInvariant,
ExecutionMetadataUnavailable,
RunFailed {
receipt: Box<StandardWebDecisionFailureReceipt>,
source: Box<StandardWebDecisionRuntimeError>,
},
}Expand description
Construction and execution failures for StandardWebDecisionRuntime.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
AlreadyStarted
A runtime instance was asked to execute its single-use session twice.
Planner(PlannerError)
A planner score or action policy was invalid.
Decision(DecisionLoopError)
Decision-loop configuration or state transition failed.
Experience(ExperienceStoreError)
Experience suppression policy was invalid.
Reasoning(ReasoningModelError)
A target-scoped reasoning identity was invalid.
Verification(VerificationError)
A bootstrap verification identity was invalid.
Http(HttpEvidenceError)
HTTP scope, resource, or collector construction failed.
Profile(StandardWebDecisionError)
The standard reasoning, planning, execution, or verification profile failed.
ApiReasoning(StandardApiReasoningError)
The optional JSON response-format and GraphQL surface profile failed to install.
NativeWebReviewDecisionProfile
The closed native review reasoning/action/verifier catalog failed validation.
NativeWebReviewExecutionProfile
The closed native review executor and payload catalog failed validation.
ResourceAuthorizationReviewComposition
The bounded authorization action/executor could not join the parent runtime.
Runner(DecisionRunnerError)
An executor lookup, request, evidence commit, or runner transition failed.
ResponseUsageEvidence
Standard HTTP execution omitted or duplicated its resource telemetry.
Fields
receipt: Box<DecisionEvidenceReceipt>Durable evidence commit that exposed the telemetry violation.
AssessmentDefenseProjectionInvariant
Committed assessment-defense evidence failed its closed replay schema.
Fields
receipt: Box<DecisionEvidenceReceipt>Durable evidence commit rejected by the assessment replay boundary.
AssessmentDefensePlanningInvariant
Assessment defense policy could not classify the exact authorized plan.
A non-execution command reached the transport-accounting boundary.
RunFailed
Execution failed after the single-use runtime had started.
The receipt preserves every earlier completed turn and the resource accounting snapshot observed at the failure boundary. The nested source retains any current execution, evidence, or reasoning receipt.
Fields
receipt: Box<StandardWebDecisionFailureReceipt>Completed audit history and final resource usage before the error.
source: Box<StandardWebDecisionRuntimeError>Typed failure raised at the current runtime boundary.
Implementations§
Source§impl StandardWebDecisionRuntimeError
impl StandardWebDecisionRuntimeError
Sourcepub fn failure_receipt(&self) -> Option<&StandardWebDecisionFailureReceipt>
pub fn failure_receipt(&self) -> Option<&StandardWebDecisionFailureReceipt>
Returns completed audit history captured when a started run failed.
Sourcepub fn into_failure_receipt(self) -> Option<StandardWebDecisionFailureReceipt>
pub fn into_failure_receipt(self) -> Option<StandardWebDecisionFailureReceipt>
Takes completed audit history captured when a started run failed.
Sourcepub fn execution_failure(&self) -> Option<&DecisionExecutionFailureReceipt>
pub fn execution_failure(&self) -> Option<&DecisionExecutionFailureReceipt>
Returns an executor-reported pre-commit failure receipt, when applicable.
Sourcepub fn into_execution_failure(self) -> Option<DecisionExecutionFailureReceipt>
pub fn into_execution_failure(self) -> Option<DecisionExecutionFailureReceipt>
Takes ownership of an executor-reported failure receipt without cloning it.
Sourcepub fn committed_evidence(&self) -> Option<&DecisionEvidenceReceipt>
pub fn committed_evidence(&self) -> Option<&DecisionEvidenceReceipt>
Returns evidence committed before this runtime error, when applicable.
Sourcepub fn into_committed_evidence(self) -> Option<DecisionEvidenceReceipt>
pub fn into_committed_evidence(self) -> Option<DecisionEvidenceReceipt>
Takes ownership of evidence committed before this error without cloning it.
Sourcepub fn committed_reasoning(&self) -> Option<&DecisionReasoningCommitReceipt>
pub fn committed_reasoning(&self) -> Option<&DecisionReasoningCommitReceipt>
Returns reasoning committed before a later planning failure, when applicable.
Sourcepub fn into_committed_reasoning(self) -> Option<DecisionReasoningCommitReceipt>
pub fn into_committed_reasoning(self) -> Option<DecisionReasoningCommitReceipt>
Takes a post-reasoning planning receipt without cloning it.
Trait Implementations§
Source§impl Error for StandardWebDecisionRuntimeError
impl Error for StandardWebDecisionRuntimeError
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()