pub enum GraphError {
Workflow(WorkflowError),
Setup(String),
Checkpoint(String),
Resume(String),
Agent(AgentError),
Store(CoreError),
}Expand description
Why parsing a workflow, building a graph run, restoring one or applying
a human answer or new budget failed. Failures during a step are not
errors: they end the run in its failed status instead.
Variants§
Workflow(WorkflowError)
Setup(String)
Checkpoint(String)
Resume(String)
Agent(AgentError)
Store(CoreError)
Trait Implementations§
Source§impl Clone for GraphError
impl Clone for GraphError
Source§impl Debug for GraphError
impl Debug for GraphError
Source§impl Display for GraphError
impl Display for GraphError
Source§impl Error for GraphError
impl Error for GraphError
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<AgentError> for GraphError
impl From<AgentError> for GraphError
Source§fn from(source: AgentError) -> Self
fn from(source: AgentError) -> Self
Converts to this type from the input type.
Source§impl From<CoreError> for GraphError
impl From<CoreError> for GraphError
Source§impl From<WorkflowError> for GraphError
impl From<WorkflowError> for GraphError
Source§fn from(source: WorkflowError) -> Self
fn from(source: WorkflowError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GraphError
impl PartialEq for GraphError
impl StructuralPartialEq for GraphError
Auto Trait Implementations§
impl Forget for GraphError
impl Freeze for GraphError
impl Move for GraphError
impl RefUnwindSafe for GraphError
impl Send for GraphErrorwhere
RawVecInner: Send,
impl Sync for GraphErrorwhere
RawVecInner: Sync,
impl Unpin for GraphError
impl UnsafeUnpin for GraphError
impl UnwindSafe for GraphErrorwhere
RawVecInner: UnwindSafe,
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