thiserror组合anyhow处理异常时缺少context信息的问题
## 背景
最近在用rust处理一个项目,其中用到了anyhow简化异常处理,使用anyhow的context能力,对异常做了包装,同时用thiserror又对anyhow的Error封装了一层。
大概是类似这样的处理代码。
业务中:
```rust
use anyhow::{Result, Context};
...
// 创建文件
let mut file = File::crea
阅读全文...