Wow this is great. Wish I had seen this before jumping on the error-chain boat. At some point I will probably refactor with one of these more recent libraries. Thanks for the info!
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Refactoring Boilerplate Code with Multiple Trait Implementations
|
4 | 1170 | January 12, 2023 | |
How to use std::error::Error, Display, and Error::source correctly, and how to report errors | 6 | 1262 | February 12, 2023 | |
Handling Rust Errors Concisely & Consistently | 15 | 2549 | January 12, 2023 | |
Using Enum Or Struct to Create Custom Error
|
3 | 1538 | August 8, 2024 | |
Error types - as enums or as structs | 5 | 4248 | January 12, 2023 |