Todo CLI in Rust 2. Immutable domain and typed errors by layer
·8 mins
In this part we model the heart of the project: the Task entity, its immutable transitions, and a taxonomy of errors by layers. Less magic, more explicit rules, and fewer surprise bugs.