Open nrc opened 1 year ago
In case it's helpful, we (the AWS SDK for Rust team) just put a lot of thought into how we expose errors to users of our libraries. @jdisanti wrote an RFC that you can read here.
John put forth the following goals:
An we ended up dividing 99% of our existing errors into two categories:
I want to add some case studies to the error design section. Ideas: