refactor(error): 规范化分层错误类型并优化异常捕捉

- 新增 tracing 记录异常,移除不必要的 Result
- 重构 错误处理架构
This commit is contained in:
2026-07-20 20:18:38 +08:00
parent 913ff4d884
commit 3499e89bf1
11 changed files with 140 additions and 101 deletions

View File

@@ -1,4 +1,4 @@
use anyhow::{anyhow, Result};
use crate::error::{ Result};
use serde::Deserialize;
use std::borrow::Cow;
use std::collections::HashMap;