pub enum AgentGraphError {
Show 20 variants
NodeNotFound(String),
RoutingError(String),
StateError(String),
MaxIterationsExceeded {
current: usize,
max: usize,
},
CycleDetected {
path: Vec<String>,
},
CheckpointError(String),
CheckpointStore {
operation: CheckpointStoreOperation,
message: String,
},
CheckpointMismatch {
expected: String,
actual: String,
},
RunNotFound(String),
AttemptNotFound(String),
AttemptRunMismatch {
attempt_id: String,
expected_run: String,
actual_run: String,
},
InvalidTransition(String),
TerminalStateConflict(String),
ExecutionError(String),
InterruptError {
node: String,
value: Option<Value>,
},
PayloadError(String),
Cancelled,
SerializationError(Error),
DatabaseError(Error),
Other(String),
}Variants§
NodeNotFound(String)
RoutingError(String)
StateError(String)
MaxIterationsExceeded
CycleDetected
CheckpointError(String)
CheckpointStore
A configured granular checkpoint store failed; durable execution cannot continue.
CheckpointMismatch
RunNotFound(String)
AttemptNotFound(String)
AttemptRunMismatch
InvalidTransition(String)
TerminalStateConflict(String)
ExecutionError(String)
InterruptError
PayloadError(String)
Cancelled
SerializationError(Error)
DatabaseError(Error)
Other(String)
Implementations§
Trait Implementations§
Source§impl Debug for AgentGraphError
impl Debug for AgentGraphError
Source§impl Display for AgentGraphError
impl Display for AgentGraphError
Source§impl Error for AgentGraphError
impl Error for AgentGraphError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Source§impl From<Error> for AgentGraphError
impl From<Error> for AgentGraphError
Auto Trait Implementations§
impl !RefUnwindSafe for AgentGraphError
impl !UnwindSafe for AgentGraphError
impl Freeze for AgentGraphError
impl Send for AgentGraphError
impl Sync for AgentGraphError
impl Unpin for AgentGraphError
impl UnsafeUnpin for AgentGraphError
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
Mutably borrows from an owned value. Read more