pub enum DiagnosticCode {
Show 20 variants
MissingSkillRef,
MissingMcpRef,
MissingOrchestratorProfile,
InvalidProfileName,
InvalidWiringProfile,
EmptyProfiles,
MissingExternalBackendConfig,
InvalidExternalBackendConfig,
FlowCycleDetected,
FlowUnknownStep,
FlowUnknownRole,
FlowDepthExceeded,
TopologyUnknownRole,
QuorumInvalid,
BranchGroupEmpty,
BranchStepMissingCondition,
BranchStepConflictingDeps,
BranchJoinWithoutBranch,
ReservedSystemIdentifier,
InvalidInlinePeerNotificationThreshold,
}Expand description
Diagnostic code for validation errors.
Variants§
MissingSkillRef
A skill referenced by a profile is not defined in the skills section.
MissingMcpRef
An MCP server referenced by a profile is not defined in the mcp section.
MissingOrchestratorProfile
The orchestrator profile is not defined.
InvalidProfileName
A profile name is not a valid identifier.
InvalidWiringProfile
A wiring rule references a profile that does not exist.
EmptyProfiles
Definition has no spawnable profiles.
MissingExternalBackendConfig
External backend selected but config missing.
InvalidExternalBackendConfig
External backend config is invalid.
FlowCycleDetected
A flow has cyclic dependencies.
FlowUnknownStep
A flow dependency points to an unknown step.
FlowUnknownRole
A flow step references an unknown role.
FlowDepthExceeded
Flow depth exceeds hard limit.
TopologyUnknownRole
Topology references an unknown role.
QuorumInvalid
Quorum policy is invalid.
BranchGroupEmpty
Branch group has fewer than two steps.
BranchStepMissingCondition
Branch step is missing a condition.
BranchStepConflictingDeps
Branch steps in same group do not share dependency set.
BranchJoinWithoutBranch
depends_on_mode = any used without branch dependencies.
ReservedSystemIdentifier
Definition uses a reserved flow-system identifier.
InvalidInlinePeerNotificationThreshold
Inline peer notification threshold is outside supported range.
Trait Implementations§
Source§impl Clone for DiagnosticCode
impl Clone for DiagnosticCode
Source§fn clone(&self) -> DiagnosticCode
fn clone(&self) -> DiagnosticCode
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DiagnosticCode
impl Debug for DiagnosticCode
Source§impl<'de> Deserialize<'de> for DiagnosticCode
impl<'de> Deserialize<'de> for DiagnosticCode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl Display for DiagnosticCode
impl Display for DiagnosticCode
Source§impl PartialEq for DiagnosticCode
impl PartialEq for DiagnosticCode
Source§impl Serialize for DiagnosticCode
impl Serialize for DiagnosticCode
impl Copy for DiagnosticCode
impl Eq for DiagnosticCode
impl StructuralPartialEq for DiagnosticCode
Auto Trait Implementations§
impl Freeze for DiagnosticCode
impl RefUnwindSafe for DiagnosticCode
impl Send for DiagnosticCode
impl Sync for DiagnosticCode
impl Unpin for DiagnosticCode
impl UnsafeUnpin for DiagnosticCode
impl UnwindSafe for DiagnosticCode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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 moreSource§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.