LOG 021: 2026/10/23
★ Error Handling
Researched and started working on my next crate (an error handling crate).
Developed an implementation for the error handling traits and types.
Made a proc-macro for deriving traits on error types (
#[derive(ErrorCode)]).Made a proc-macro attribute for appending context information on failing a function (
#[error(...)]).Started writing my next article (mostly I'll focus on that next week).
My next crate is a pretty obscure kind of error handling crate.
It will be useful for crates which don’t usually wish to carry error details (like in production, for instance), but can benefit from being configured to do so for debug builds, or for testing, or during development of new features.
I’m still not sure what to call the crate, and it’s kind of hard to summarize how it works… I think you’ll just have to wait until I release an alpha to get a look at it.
Next week I’ll prioritize working on my next article.


