添加qiming-rcoder模块

This commit is contained in:
Codex
2026-06-01 13:54:52 +08:00
parent 8092c4b1f8
commit 4b1a580132
539 changed files with 151650 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
//! Agent abstraction layer error types
use thiserror::Error;
/// Agent abstraction layer error
#[derive(Error, Debug)]
pub enum AgentAbstractionError {
#[error("connection error: {0}")]
Connection(String),
#[error("registry error: {0}")]
Registry(String),
#[error("process error: {0}")]
Process(String),
#[error("other error: {0}")]
Other(String),
#[error("serialization error: {0}")]
Serialization(#[from] serde_json::Error),
#[error("I/O error: {0}")]
Io(#[from] std::io::Error),
#[error("type cast error")]
Cast,
#[error("not found: {0}")]
NotFound(String),
}