pub enum CellstateError {
Storage(StorageError),
Llm(LlmError),
Validation(ValidationError),
Config(ConfigError),
Vector(VectorError),
Agent(AgentError),
}Expand description
Master error type for all CELLSTATE errors.
Variants§
Storage(StorageError)
Llm(LlmError)
Validation(ValidationError)
Config(ConfigError)
Vector(VectorError)
Agent(AgentError)
Trait Implementations§
Source§impl Clone for CellstateError
impl Clone for CellstateError
Source§fn clone(&self) -> CellstateError
fn clone(&self) -> CellstateError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CellstateError
impl Debug for CellstateError
Source§impl Display for CellstateError
impl Display for CellstateError
Source§impl Error for CellstateError
impl Error for CellstateError
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 CellstateError
impl From<AgentError> for CellstateError
Source§fn from(source: AgentError) -> Self
fn from(source: AgentError) -> Self
Converts to this type from the input type.
Source§impl From<ConfigError> for CellstateError
impl From<ConfigError> for CellstateError
Source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
Source§impl From<LlmError> for CellstateError
impl From<LlmError> for CellstateError
Source§impl From<StorageError> for CellstateError
impl From<StorageError> for CellstateError
Source§fn from(source: StorageError) -> Self
fn from(source: StorageError) -> Self
Converts to this type from the input type.
Source§impl From<ValidationError> for CellstateError
impl From<ValidationError> for CellstateError
Source§fn from(source: ValidationError) -> Self
fn from(source: ValidationError) -> Self
Converts to this type from the input type.
Source§impl From<VectorError> for CellstateError
impl From<VectorError> for CellstateError
Source§fn from(source: VectorError) -> Self
fn from(source: VectorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for CellstateError
impl RefUnwindSafe for CellstateError
impl Send for CellstateError
impl Sync for CellstateError
impl Unpin for CellstateError
impl UnwindSafe for CellstateError
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