Study note
error handling 1
Properties
- Type
- Blogs
- Status
- 待读
- Domain
- Rust
- Category
- 类型系统、宏与语言机制
- Source
- bugenzhao.com
- Vault note
library/articles/rust/error-handling-1-d5b030539eb99f3d.md
Summary
Bugen Zhao 关于 Rust/RisingWave 错误处理实践的系列第一篇,从 `std::error::Error`、`Debug`/`Display`、`source` 链、`provide`、error report、`tracing` 结构化日志、backtrace 和 `anyhow` context 等角度讨论错误如何被消费和呈现。
Highlights
不是泛泛而谈“最佳实践”,而是从大型 Rust 项目的用户可见错误、日志可观测性和源错误链维护出发,适合用来整理工程级错误处理规范。
Notes
Rust / RisingWave 错误处理
Comments
Loading comments...