#[non_exhaustive]pub enum GraphLifecycleError {
Store {
source: Box<StoreError>,
},
StaleHandoff,
InvalidHandoff {
operation: &'static str,
},
Evidence(GraphLifecycleEvidenceError),
WaitRegistration {
source: Box<DurableWaitError>,
},
InputSchema {
source: GraphSchemaValidationError,
},
OutputSchema {
source: GraphSchemaValidationError,
},
AgentResult {
source: Box<AgentResultError>,
},
AgentResultValidation {
source: Box<AgentResultValidationError>,
},
RunFailure {
source: RunFailureError,
},
EventPayloadInvalid,
JournalAppendInvalid,
}Expand description
Payload-redacted graph lifecycle failure.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Store
PostgreSQL rejected or could not complete an operation.
Fields
source: Box<StoreError>Exact payload-redacted provider failure.
StaleHandoff
The handoff no longer matches the current run, journal, revision, lease, or runnable lifecycle.
InvalidHandoff
A supposedly closed driver/lifecycle relationship failed.
Evidence(GraphLifecycleEvidenceError)
Trusted evidence could not be recovered.
WaitRegistration
A graph wait could not become an event-bound registration intent.
Fields
source: Box<DurableWaitError>Exact public-safe wait validation failure.
InputSchema
The recovered request failed its pinned local input schema.
Fields
source: GraphSchemaValidationErrorClosed validation classification.
OutputSchema
The graph output failed its pinned local output schema.
Fields
source: GraphSchemaValidationErrorClosed validation classification.
AgentResult
Terminal output, artifacts, or accounting were intrinsically invalid.
Fields
source: Box<AgentResultError>Exact public-safe intrinsic validation failure.
AgentResultValidation
Terminal success did not match trusted admission and budget snapshots.
Fields
source: Box<AgentResultValidationError>Exact public-safe relationship failure.
RunFailure
Supervision attempted an invalid ordinary failure transition.
Fields
source: RunFailureErrorExact public-safe terminal failure validation error.
EventPayloadInvalid
Standard audit event data failed its pinned local schema or bounds.
JournalAppendInvalid
A worker journal append could not be constructed.
Trait Implementations§
Source§impl Debug for GraphLifecycleError
impl Debug for GraphLifecycleError
Source§impl Display for GraphLifecycleError
impl Display for GraphLifecycleError
Source§impl Error for GraphLifecycleError
impl Error for GraphLifecycleError
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<StoreError> for GraphLifecycleError
impl From<StoreError> for GraphLifecycleError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for GraphLifecycleError
impl !UnwindSafe for GraphLifecycleError
impl Forget for GraphLifecycleError
impl Freeze for GraphLifecycleError
impl Move for GraphLifecycleError
impl Send for GraphLifecycleError
impl Sync for GraphLifecycleError
impl Unpin for GraphLifecycleError
impl UnsafeUnpin for GraphLifecycleError
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