thiserror 是一个 Rust 派生宏库,允许开发者通过 #[derive(Error)] 以类似 std::error::Error 的方式实现自定义错误类型,是 Rust 错误处理生态的核心组件。