#[non_exhaustive]pub enum DurableAgentRunsError {
Show 14 variants
Admission(DurableAgentAdmissionError),
Store(StoreError),
ExecutableGraphUnavailable,
GraphInputSchemaMismatch,
GraphOutputSchemaMismatch,
InputSchema {
source: GraphSchemaValidationError,
},
AuthoritySchema {
source: GraphSchemaValidationError,
},
InitialStateSchema {
source: GraphSchemaValidationError,
},
AdmissionEventSchemaMismatch,
EventSchema {
source: GraphSchemaValidationError,
},
OutputSchema {
source: GraphSchemaValidationError,
},
ResultValidation {
source: AgentResultValidationError,
},
InvalidDurableSnapshot,
Snapshot(AgentRunSnapshotError),
}Expand description
Payload-redacted failure from public durable Agent admission or reads.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Admission(DurableAgentAdmissionError)
Atomic Agent admission failed.
Store(StoreError)
Durable storage or integrity verification failed.
The exact graph and executable closure are absent from this deployment.
GraphInputSchemaMismatch
The Agent and executable graph disagree about input schema.
GraphOutputSchemaMismatch
The Agent and executable graph disagree about output schema.
InputSchema
Durable request input no longer passes its pinned schema.
Fields
source: GraphSchemaValidationErrorClosed schema validation result.
AuthoritySchema
Durable authorization evidence no longer passes its pinned schema.
Fields
source: GraphSchemaValidationErrorClosed schema validation result.
InitialStateSchema
Durable initial state no longer passes its pinned schema.
Fields
source: GraphSchemaValidationErrorClosed schema validation result.
AdmissionEventSchemaMismatch
The immutable first event named another schema version.
EventSchema
Durable admission audit data no longer passes the standard schema.
Fields
source: GraphSchemaValidationErrorClosed schema validation result.
OutputSchema
A successful terminal output no longer passes its pinned schema.
Fields
source: GraphSchemaValidationErrorClosed schema validation result.
ResultValidation
A successful result failed provenance, request, schema, or accounting binding.
Fields
source: AgentResultValidationErrorCore result validation failure.
InvalidDurableSnapshot
Durable facts formed a relationship the public snapshot cannot represent.
Snapshot(AgentRunSnapshotError)
Public snapshot fields formed an impossible lifecycle view.
Trait Implementations§
Source§impl Debug for DurableAgentRunsError
impl Debug for DurableAgentRunsError
Source§impl Display for DurableAgentRunsError
impl Display for DurableAgentRunsError
Source§impl Error for DurableAgentRunsError
impl Error for DurableAgentRunsError
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()
Source§impl From<AgentRunSnapshotError> for DurableAgentRunsError
impl From<AgentRunSnapshotError> for DurableAgentRunsError
Source§fn from(source: AgentRunSnapshotError) -> Self
fn from(source: AgentRunSnapshotError) -> Self
Source§impl From<DurableAgentAdmissionError> for DurableAgentRunsError
impl From<DurableAgentAdmissionError> for DurableAgentRunsError
Source§fn from(source: DurableAgentAdmissionError) -> Self
fn from(source: DurableAgentAdmissionError) -> Self
Source§impl From<DurableAgentRunsError> for AgentServiceError
impl From<DurableAgentRunsError> for AgentServiceError
Source§fn from(source: DurableAgentRunsError) -> Self
fn from(source: DurableAgentRunsError) -> Self
Source§impl From<StoreError> for DurableAgentRunsError
impl From<StoreError> for DurableAgentRunsError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for DurableAgentRunsError
impl !UnwindSafe for DurableAgentRunsError
impl Forget for DurableAgentRunsError
impl Freeze for DurableAgentRunsError
impl Move for DurableAgentRunsError
impl Send for DurableAgentRunsError
impl Sync for DurableAgentRunsError
impl Unpin for DurableAgentRunsError
impl UnsafeUnpin for DurableAgentRunsError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more