pub enum CoreRunError {
Show 20 variants
Stalled {
node: String,
},
UnboundedCycle {
nodes: Vec<String>,
},
Unreachable {
nodes: Vec<String>,
},
UnresolvedRef {
what: String,
},
InvalidCondition {
edge: String,
why: String,
},
NoToolLlm {
node: String,
},
BudgetExhausted {
axis: BudgetAxis,
},
DanglingIntent {
key: String,
},
ReplayDivergence {
what: String,
},
ManifestMismatch {
why: String,
},
UnknownAsk {
tool_call_id: String,
},
Unauthorized {
what: String,
},
Canceled {
by: String,
reason: String,
},
ReducerLawViolation {
key: String,
},
CheckpointTooLarge {
bytes: usize,
cap: usize,
},
Tainted {
why: String,
},
RetentionRefused {
why: String,
},
CodeExecRefused {
condition: String,
},
InvalidPlan {
why: String,
},
Storage {
detail: String,
},
}Expand description
A runtime failure with a stable RUN-Ennn code.
Variants§
Stalled
RUN-E001 — the run drained with no terminal node reaching success; names the decision node whose conditions all evaluated false.
UnboundedCycle
RUN-E002 — an unbounded cycle: a strongly-connected component with no
max_cycles edge.
Unreachable
RUN-E003 — node(s) unreachable from the entry.
UnresolvedRef
RUN-E004 — a binding or pinned hash does not resolve (or a journal ref is absent without an erasure receipt).
InvalidCondition
RUN-E005 — a condition failed validation at load.
NoToolLlm
RUN-E006 — an abstract node with no tool-calling LLM configured.
BudgetExhausted
RUN-E007 — a budget axis is exhausted.
Fields
axis: BudgetAxisDanglingIntent
RUN-E008 — a dangling intent on resume with on_dangling = fail.
ReplayDivergence
RUN-E009 — replay divergence: a re-derived decision, counter, or checkpoint disagrees with the journal.
ManifestMismatch
RUN-E010 — checkpoint does not match the run manifest.
UnknownAsk
RUN-E011 — a response names no pending Client ask.
RUN-E012 — a run operation the session’s rights do not cover.
Fields
Canceled
RUN-E013 — the run was canceled.
ReducerLawViolation
RUN-E014 — a reducer violated its laws (debug sampling).
CheckpointTooLarge
RUN-E015 — a checkpoint exceeds the size cap after spill.
Tainted
RUN-E016 — the journal is tainted: forked supersession tips, or a
resume of a copied file without --fork / the owner nonce.
RetentionRefused
RUN-E017 — a retention floor or legal hold refuses a destruction.
CodeExecRefused
RUN-E018 — code execution refused; names the failed gate condition.
InvalidPlan
RUN-E019 — the workflow failed structural validation (V1/V2 shape errors that are not one of the specific codes above).
Storage
RUN-E020 — a store operation failed under the runtime (wraps the
underlying DOMAIN-Ennn message, which stays in the detail).
Implementations§
Trait Implementations§
Source§impl Error for RunError
impl Error for RunError
1.30.0 · 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()
impl StructuralPartialEq for RunError
Auto Trait Implementations§
impl Freeze for RunError
impl RefUnwindSafe for RunError
impl Send for RunError
impl Sync for RunError
impl Unpin for RunError
impl UnsafeUnpin for RunError
impl UnwindSafe for RunError
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<K, Q> Comparable<Q> for K
impl<K, Q> Comparable<Q> for K
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>, which can then be
downcast into Box<dyn ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Rc<Trait> (where Trait: Downcast) to Rc<Any>, which can then be further
downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.Source§impl<T> DowncastSend for T
impl<T> DowncastSend for T
Source§impl<T> DowncastSync for T
impl<T> DowncastSync for T
Source§impl<K, Q> Equivalent<Q> for K
impl<K, Q> Equivalent<Q> for K
Source§fn equivalent(&self, key: &Q) -> bool
fn equivalent(&self, key: &Q) -> bool
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Fruit for T
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