Cleanup errors in the library
slawlor opened this issue · comments
There's a lot of error codes in the errors.rs
library which are incorrectly utilized or not utilized at all. These codes should be cleaned up to only what's necessary and not duplicated in multiple structures.
Additionally, should storage-layer errors be promoted to first-class errors within AkdError
?
Other points
AkdError
should implementfmt::Display
Directory::get_current_azks
should not return a directStorageError
but a higherAkdError