Expand description
Error types for the Agent system
This module defines custom error types using thiserror.
These errors provide clear, user-friendly messages while
preserving the underlying error chain for debugging.
§Usage
use codive_core::AgentError;
fn load_config(path: &std::path::Path) -> Result<(), AgentError> {
if !path.exists() {
return Err(AgentError::ConfigNotFound {
path: path.to_path_buf(),
});
}
Ok(())
}Enums§
- Agent
Error - Errors that can occur in the Agent system