Closed AzureMarker closed 3 years ago
I'd actually like to see some modern error crate here instead. Could you try implementing the Error
with thiserror?
Sure, I can do that, though it will do the same thing with more dependencies (thiserror
just implements the std error, and this error is simple enough that it's not a huge benefit).
thiserror does more than just implementing std error, it also creates automatic From
impls, among other things.
Are you talking about making more functional changes to the error then? I'm not sure what scope you have in mind for these changes (i.e. breaking changes?).
Ok, xmas holidays and some time for my old crates. This looks solid, merging. Thank you.
Also removed some deprecated impls and changed the "reason" message from the debug string to the human-readable message.
Fixes #46