pub enum IrError {
Show 15 variants
UnknownToolRef(String, String),
UnknownModelRef(String, String),
UnknownAgentRef(String, String),
UnknownMcpServer(String, String),
UnknownRemoteAgent(String, String),
UnknownEdgeTarget {
from: String,
to: String,
},
UnreachableNode(String),
NoStartNode,
NoTerminalPath(String),
MismatchedParallelJoin(String, String),
SchemaIncompatibility {
from: String,
from_schema: String,
to: String,
to_schema: String,
},
InvalidVersion(String),
DuplicateNodeId(String),
Json(Error),
Yaml(Error),
}Variants§
UnknownToolRef(String, String)
UnknownModelRef(String, String)
UnknownAgentRef(String, String)
UnknownMcpServer(String, String)
UnknownRemoteAgent(String, String)
UnknownEdgeTarget
UnreachableNode(String)
NoStartNode
NoTerminalPath(String)
MismatchedParallelJoin(String, String)
SchemaIncompatibility
InvalidVersion(String)
DuplicateNodeId(String)
Json(Error)
Yaml(Error)
Trait Implementations§
Source§impl Error for IrError
impl Error for IrError
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()
Auto Trait Implementations§
impl !RefUnwindSafe for IrError
impl !UnwindSafe for IrError
impl Freeze for IrError
impl Send for IrError
impl Sync for IrError
impl Unpin for IrError
impl UnsafeUnpin for IrError
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