thiserror和anyhow不是说不能混用,但实在没啥必要,根据thiserror文档建议,bin项目用anyhow,lib项目用thiserror。
不过针对本问题来说,只是为了看error source的话,当然是color-eyre比anyhow更清晰。
。
为何雷军天天健身,却无健身痕迹?
什么是 AI Agent(智能体)?
Copyright © 2012-2023 某某博客 版权所有
粤IP*******