Currently errors contain rather minimal context and are difficult to unit test since they are non-comparable.
I would like to provide the following features:
- Provide context like how the anyhow crate does
- Be able to verify the type of error at unit test time, to verify that tests that result in an error produce the correct type of error
Currently errors contain rather minimal context and are difficult to unit test since they are non-comparable.
I would like to provide the following features: