#[non_exhaustive]pub enum AgentServiceError {
Show 13 variants
Registry(AgentServiceRegistryError),
Authorization(AgentServiceAuthorizationError),
AuthorizationPrincipalMismatch,
Deployment(AgentServiceDeploymentError),
AdmissionRequest(DurableAgentAdmissionRequestError),
Runs(DurableAgentRunsError),
Store(StoreError),
ConflictingCancellation,
SubmissionConflict,
TerminalRun,
InvalidRunState,
ControlEventInvariant,
ControlEventSchema {
source: GraphSchemaValidationError,
},
}Expand description
Payload-redacted failure from the versioned Agent service boundary.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Registry(AgentServiceRegistryError)
Exact Agent service deployment selection failed.
Authorization(AgentServiceAuthorizationError)
Mandatory ingress policy rejected or could not evaluate the operation.
AuthorizationPrincipalMismatch
Authorization evidence named a different authenticated principal.
Deployment(AgentServiceDeploymentError)
Installed initial-state generation failed closed.
AdmissionRequest(DurableAgentAdmissionRequestError)
Durable admission request construction failed.
Runs(DurableAgentRunsError)
Public durable run admission or verification failed.
Store(StoreError)
Durable provider mutation or integrity verification failed.
ConflictingCancellation
Another cancellation occurrence already owns this lifecycle.
SubmissionConflict
An idempotency key was reused for different logical submission content.
TerminalRun
A non-cancelled terminal run cannot accept cancellation.
InvalidRunState
Durable facts formed a state unsupported by this service mutation.
ControlEventInvariant
Framework-owned control event construction failed an invariant.
ControlEventSchema
Framework-owned control event data failed its embedded schema.
Fields
source: GraphSchemaValidationErrorClosed schema validation result.
Trait Implementations§
Source§impl Debug for AgentServiceError
impl Debug for AgentServiceError
Source§impl Display for AgentServiceError
impl Display for AgentServiceError
Source§impl Error for AgentServiceError
impl Error for AgentServiceError
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<AgentServiceAuthorizationError> for AgentServiceError
impl From<AgentServiceAuthorizationError> for AgentServiceError
Source§fn from(source: AgentServiceAuthorizationError) -> Self
fn from(source: AgentServiceAuthorizationError) -> Self
Source§impl From<AgentServiceDeploymentError> for AgentServiceError
impl From<AgentServiceDeploymentError> for AgentServiceError
Source§fn from(source: AgentServiceDeploymentError) -> Self
fn from(source: AgentServiceDeploymentError) -> Self
Source§impl From<AgentServiceRegistryError> for AgentServiceError
impl From<AgentServiceRegistryError> for AgentServiceError
Source§fn from(source: AgentServiceRegistryError) -> Self
fn from(source: AgentServiceRegistryError) -> Self
Source§impl From<DurableAgentAdmissionRequestError> for AgentServiceError
impl From<DurableAgentAdmissionRequestError> for AgentServiceError
Source§fn from(source: DurableAgentAdmissionRequestError) -> Self
fn from(source: DurableAgentAdmissionRequestError) -> 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 AgentServiceError
impl From<StoreError> for AgentServiceError
Source§fn from(source: StoreError) -> Self
fn from(source: StoreError) -> Self
Auto Trait Implementations§
impl !RefUnwindSafe for AgentServiceError
impl !UnwindSafe for AgentServiceError
impl Forget for AgentServiceError
impl Freeze for AgentServiceError
impl Move for AgentServiceError
impl Send for AgentServiceError
impl Sync for AgentServiceError
impl Unpin for AgentServiceError
impl UnsafeUnpin for AgentServiceError
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