pub enum KernexError {
Provider(String),
Store(String),
Sandbox(String),
Config(String),
Pipeline(String),
Skill(String),
Io(Error),
Serialization(Error),
}Expand description
Top-level error type for Kernex.
Variants§
Provider(String)
Error from an AI provider.
Store(String)
Memory/storage error.
Sandbox(String)
Sandbox execution error.
Config(String)
Configuration error.
Pipeline(String)
Pipeline execution error.
Skill(String)
Skill loading/matching error.
Io(Error)
I/O error.
Serialization(Error)
Serialization error.
Trait Implementations§
Source§impl Debug for KernexError
impl Debug for KernexError
Source§impl Display for KernexError
impl Display for KernexError
Source§impl Error for KernexError
impl Error for KernexError
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 KernexError
impl From<Error> for KernexError
Auto Trait Implementations§
impl Freeze for KernexError
impl !RefUnwindSafe for KernexError
impl Send for KernexError
impl Sync for KernexError
impl Unpin for KernexError
impl UnsafeUnpin for KernexError
impl !UnwindSafe for KernexError
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