#[non_exhaustive]pub enum DurableAgentAdmissionError {
Show 15 variants
ExecutableGraphUnavailable,
GraphInputSchemaMismatch,
GraphOutputSchemaMismatch,
InputSchema {
source: GraphSchemaValidationError,
},
AuthoritySchema {
source: GraphSchemaValidationError,
},
InitialStateSchema {
source: GraphSchemaValidationError,
},
EventSchema {
source: GraphSchemaValidationError,
},
CanonicalInput(CanonicalJsonError),
EventData(BoundedJsonError),
EventKind(JournalEventKindError),
EventPayload(JournalPayloadError),
EventIntent(JournalIntentError),
JournalAppend(JournalAppendError),
Checkpoint(CheckpointWriteError),
Store(StoreError),
}Expand description
Payload-redacted failure while preparing or committing Agent admission.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
The intent’s exact graph and executable closure are absent locally.
GraphInputSchemaMismatch
The Agent input contract and graph input contract differ.
GraphOutputSchemaMismatch
The Agent output contract and graph terminal contract differ.
InputSchema
The typed request failed its exact local input schema.
Fields
source: GraphSchemaValidationErrorClosed schema result.
AuthoritySchema
Authorization evidence failed its exact local schema.
Fields
source: GraphSchemaValidationErrorClosed schema result.
InitialStateSchema
Initial graph state failed its exact local schema.
Fields
source: GraphSchemaValidationErrorClosed schema result.
EventSchema
The framework-owned event data failed its embedded schema.
Fields
source: GraphSchemaValidationErrorClosed schema result.
CanonicalInput(CanonicalJsonError)
Input JSON could not be represented in the canonical audit digest.
EventData(BoundedJsonError)
Framework-owned event data unexpectedly exceeded JSON bounds.
EventKind(JournalEventKindError)
The framework-owned stable event kind was malformed.
EventPayload(JournalPayloadError)
The framework-owned payload envelope was malformed.
EventIntent(JournalIntentError)
The control-plane event intent could not be constructed.
JournalAppend(JournalAppendError)
The empty-head append could not be constructed.
Checkpoint(CheckpointWriteError)
The initial checkpoint intent could not be constructed.
Store(StoreError)
Durable commit, conflict, or integrity failure.
Trait Implementations§
Source§impl Debug for DurableAgentAdmissionError
impl Debug for DurableAgentAdmissionError
Source§impl Display for DurableAgentAdmissionError
impl Display for DurableAgentAdmissionError
Source§impl Error for DurableAgentAdmissionError
impl Error for DurableAgentAdmissionError
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<DurableAgentAdmissionError> for DurableAgentRunsError
impl From<DurableAgentAdmissionError> for DurableAgentRunsError
Source§fn from(source: DurableAgentAdmissionError) -> Self
fn from(source: DurableAgentAdmissionError) -> Self
Source§impl From<StoreError> for DurableAgentAdmissionError
impl From<StoreError> for DurableAgentAdmissionError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for DurableAgentAdmissionError
impl !UnwindSafe for DurableAgentAdmissionError
impl Forget for DurableAgentAdmissionError
impl Freeze for DurableAgentAdmissionError
impl Move for DurableAgentAdmissionError
impl Send for DurableAgentAdmissionError
impl Sync for DurableAgentAdmissionError
impl Unpin for DurableAgentAdmissionError
impl UnsafeUnpin for DurableAgentAdmissionError
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