pub enum SynapticError {
Show 20 variants
Prompt(String),
Model(String),
Tool(String),
ToolNotFound(String),
Memory(String),
RateLimit(String),
Timeout(String),
Validation(String),
Parsing(String),
Callback(String),
MaxStepsExceeded {
max_steps: usize,
},
Embedding(String),
VectorStore(String),
Retriever(String),
Loader(String),
Splitter(String),
Graph(String),
Cache(String),
Config(String),
Mcp(String),
}Expand description
Unified error type for the Synaptic framework with variants covering all subsystems.
Variants§
Prompt(String)
Model(String)
Tool(String)
ToolNotFound(String)
Memory(String)
RateLimit(String)
Timeout(String)
Validation(String)
Parsing(String)
Callback(String)
MaxStepsExceeded
Embedding(String)
VectorStore(String)
Retriever(String)
Loader(String)
Splitter(String)
Graph(String)
Cache(String)
Config(String)
Mcp(String)
Trait Implementations§
Source§impl Debug for SynapticError
impl Debug for SynapticError
Source§impl Display for SynapticError
impl Display for SynapticError
Source§impl Error for SynapticError
impl Error for SynapticError
1.30.0 · 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 Freeze for SynapticError
impl RefUnwindSafe for SynapticError
impl Send for SynapticError
impl Sync for SynapticError
impl Unpin for SynapticError
impl UnsafeUnpin for SynapticError
impl UnwindSafe for SynapticError
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