#[non_exhaustive]pub enum AgentResultValidationError {
ExpectedProvenance {
source: AgentResultProvenanceError,
},
TenantMismatch {
expected: Box<TenantId>,
actual: Box<TenantId>,
},
RunMismatch {
expected: RunId,
actual: RunId,
},
ThreadMismatch {
expected: ThreadId,
actual: ThreadId,
},
InvocationMismatch {
expected: InvocationId,
actual: InvocationId,
},
AgentIdentityMismatch {
expected: Box<CapabilityIdentity>,
actual: Box<CapabilityIdentity>,
},
Request {
source: AgentRequestValidationError,
},
InputBytesUnderreported {
minimum: ByteCount,
actual: ByteCount,
},
OutputSchemaMismatch {
expected: Box<SchemaReference>,
actual: Box<SchemaReference>,
},
Budget {
source: BudgetEvaluationError,
},
}Expand description
Invalid relationship between a terminal result and trusted run snapshots.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
ExpectedProvenance
Trusted expected provenance itself named another agent descriptor.
Fields
source: AgentResultProvenanceErrorUnderlying descriptor-binding failure.
TenantMismatch
Result provenance named another tenant.
Fields
RunMismatch
Result provenance named another run.
ThreadMismatch
Result provenance named another thread.
InvocationMismatch
Result provenance named another logical invocation.
Fields
expected: InvocationIdTrusted invocation identifier.
actual: InvocationIdRejected invocation identifier.
AgentIdentityMismatch
Result provenance named another agent snapshot.
Fields
expected: Box<CapabilityIdentity>Trusted owner-qualified agent identity.
actual: Box<CapabilityIdentity>Rejected result identity.
Request
Recovered request did not match descriptor or budget snapshots.
Fields
source: AgentRequestValidationErrorUnderlying request validation failure.
InputBytesUnderreported
Initial materialized input was absent from cumulative run accounting.
Fields
OutputSchemaMismatch
Result named another final-output schema.
Fields
expected: Box<SchemaReference>Exact descriptor output schema.
actual: Box<SchemaReference>Rejected result output schema.
Budget
Terminal usage or completion time exceeded the resolved budget.
Fields
source: BudgetEvaluationErrorExact failed budget dimension.
Trait Implementations§
Source§impl Clone for AgentResultValidationError
impl Clone for AgentResultValidationError
Source§impl Debug for AgentResultValidationError
impl Debug for AgentResultValidationError
Source§impl Display for AgentResultValidationError
impl Display for AgentResultValidationError
impl Eq for AgentResultValidationError
Source§impl Error for AgentResultValidationError
impl Error for AgentResultValidationError
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()