pub enum RGraphError {
Execution {
message: String,
},
Node {
node_id: String,
message: String,
},
State {
message: String,
},
Validation {
message: String,
},
Config {
message: String,
},
Agent {
message: String,
},
Tool {
message: String,
},
Routing {
message: String,
},
Rrag(RragError),
Serialization(Error),
Io(Error),
Other(Error),
}Expand description
Error types for RGraph operations
Variants§
Execution
Node
State
Validation
Config
Agent
Tool
Routing
Rrag(RragError)
Serialization(Error)
Io(Error)
Other(Error)
Implementations§
Source§impl RGraphError
impl RGraphError
Trait Implementations§
Source§impl Debug for RGraphError
impl Debug for RGraphError
Source§impl Display for RGraphError
impl Display for RGraphError
Source§impl Error for RGraphError
impl Error for RGraphError
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 RGraphError
impl From<Error> for RGraphError
Source§impl From<Error> for RGraphError
impl From<Error> for RGraphError
Source§impl From<Error> for RGraphError
impl From<Error> for RGraphError
Auto Trait Implementations§
impl Freeze for RGraphError
impl !RefUnwindSafe for RGraphError
impl Send for RGraphError
impl Sync for RGraphError
impl Unpin for RGraphError
impl !UnwindSafe for RGraphError
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