Get the latest tech news
Show HN: Stack Error – ergonomic error handling for Rust
A pragmatic error handling library for Rust that provides helpful strings for debugging, and structured data for runtime error handling. - gmcgoldr/stackerror
The thiserror library provides flexible tools to facilitate the creation of custom error types. This reduces the effort required to develop (and stick to) a good error handling strategy for your project. macros are provided to simplify common operations on [ Result]s, and to add file name and line number information to error messages.
Or read this on Hacker News