refactor(backend): update supporting modules for database compatibility

- Add DatabaseError variant to AppError enum
- Update provider module to support database-backed operations
- Modify codex_config to work with new database structure
- Ensure error handling covers database operations
This commit is contained in:
YoVinchen
2025-11-22 23:27:54 +08:00
parent 23a407544a
commit a2688603fb
3 changed files with 7 additions and 2 deletions
+2
View File
@@ -50,6 +50,8 @@ pub enum AppError {
zh: String,
en: String,
},
#[error("数据库错误: {0}")]
Database(String),
}
impl AppError {