rustic_core icon indicating copy to clipboard operation
rustic_core copied to clipboard

Unhelpful error types

Open drdo opened this issue 1 year ago • 1 comments

As an example, when opening a Repository if the host cannot be found we get only a ListingRepositoryConfigFileFailed with no indication as to why this happened.

It would be nice if this type included information about the upstream errors that caused this (in this case probably opendal::Error at least).

drdo avatar Jul 20 '24 14:07 drdo

I agree, the whole error handling situation is a bit cumbersome at this point and a rework is needed with the above-mentioned improvements. 👍🏽

simonsan avatar Jul 20 '24 15:07 simonsan

We reworked and improved the RusticError API in https://github.com/rustic-rs/rustic_core/releases/tag/rustic_core-v0.6.0

In case there are still problems, feel free to reopen.

simonsan avatar Nov 19 '24 01:11 simonsan