-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
refactor(errors)!: improve RusticError display and usage #321
base: main
Are you sure you want to change the base?
Commits on Oct 23, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 101f898 - Browse repository at this point
Copy the full SHA 101f898View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7cdd50e - Browse repository at this point
Copy the full SHA 7cdd50eView commit details -
Configuration menu - View commit details
-
Copy full SHA for ac5a261 - Browse repository at this point
Copy the full SHA ac5a261View commit details -
Configuration menu - View commit details
-
Copy full SHA for d8421db - Browse repository at this point
Copy the full SHA d8421dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for b690a80 - Browse repository at this point
Copy the full SHA b690a80View commit details -
RusticErrors for Choose, Local and Utils
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b5a365e - Browse repository at this point
Copy the full SHA b5a365eView commit details
Commits on Oct 24, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 36c0ca1 - Browse repository at this point
Copy the full SHA 36c0ca1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 93f99b2 - Browse repository at this point
Copy the full SHA 93f99b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 96b4516 - Browse repository at this point
Copy the full SHA 96b4516View commit details -
remove leftovers from check command error handling draft
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d51a6ca - Browse repository at this point
Copy the full SHA d51a6caView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8af508d - Browse repository at this point
Copy the full SHA 8af508dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ecf288 - Browse repository at this point
Copy the full SHA 0ecf288View commit details -
Configuration menu - View commit details
-
Copy full SHA for 17f8a35 - Browse repository at this point
Copy the full SHA 17f8a35View commit details -
RusticErrors for Dump incl Display for NodeType
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b507c5b - Browse repository at this point
Copy the full SHA b507c5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 612ccd1 - Browse repository at this point
Copy the full SHA 612ccd1View commit details -
Configuration menu - View commit details
-
Copy full SHA for cfaf6de - Browse repository at this point
Copy the full SHA cfaf6deView commit details -
RusticErrors for crypto, need std feature for impl Error for aead
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d1534b - Browse repository at this point
Copy the full SHA 9d1534bView commit details -
give error code to data decryption error for later usage when matchin…
…g possible repository keys Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 12d540b - Browse repository at this point
Copy the full SHA 12d540bView commit details -
RusticErrors for Cryptographic stuff
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 5192bdd - Browse repository at this point
Copy the full SHA 5192bddView commit details -
revert check to before draft error handling
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4563edc - Browse repository at this point
Copy the full SHA 4563edcView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 546b383 - Browse repository at this point
Copy the full SHA 546b383View commit details -
optimize error handling in local hackend
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 98a1c4a - Browse repository at this point
Copy the full SHA 98a1c4aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 4527c21 - Browse repository at this point
Copy the full SHA 4527c21View commit details -
Configuration menu - View commit details
-
Copy full SHA for dee0dfa - Browse repository at this point
Copy the full SHA dee0dfaView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b2c6914 - Browse repository at this point
Copy the full SHA b2c6914View commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for aa5cfc3 - Browse repository at this point
Copy the full SHA aa5cfc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 246a1c7 - Browse repository at this point
Copy the full SHA 246a1c7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3187db8 - Browse repository at this point
Copy the full SHA 3187db8View commit details -
Configuration menu - View commit details
-
Copy full SHA for da0032a - Browse repository at this point
Copy the full SHA da0032aView commit details -
Configuration menu - View commit details
-
Copy full SHA for ed19682 - Browse repository at this point
Copy the full SHA ed19682View commit details -
RusticErrors for opendal backend
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f86f4b5 - Browse repository at this point
Copy the full SHA f86f4b5View commit details -
RusticErrors for rclone backend
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ff3003 - Browse repository at this point
Copy the full SHA 8ff3003View commit details
Commits on Oct 25, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 1ab5d8c - Browse repository at this point
Copy the full SHA 1ab5d8cView commit details -
RusticErrors for Rclone backend
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1856987 - Browse repository at this point
Copy the full SHA 1856987View commit details -
use derive_more display instead of strum for BlobType
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 3a045ef - Browse repository at this point
Copy the full SHA 3a045efView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 8ffaa70 - Browse repository at this point
Copy the full SHA 8ffaa70View commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 27784b2 - Browse repository at this point
Copy the full SHA 27784b2View commit details -
fix tests for error display and dbg
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ae1c33d - Browse repository at this point
Copy the full SHA ae1c33dView commit details -
test error display and debug impl
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a28089d - Browse repository at this point
Copy the full SHA a28089dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 03c5815 - Browse repository at this point
Copy the full SHA 03c5815View commit details
Commits on Oct 26, 2024
-
Migrate to
with_source
constructorSigned-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9b7c347 - Browse repository at this point
Copy the full SHA 9b7c347View commit details -
remove wrongly commited macro expanded file
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6a540f0 - Browse repository at this point
Copy the full SHA 6a540f0View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ecc6ca - Browse repository at this point
Copy the full SHA 7ecc6caView commit details -
More RusticErrors for Archiver
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 942df62 - Browse repository at this point
Copy the full SHA 942df62View commit details -
RusticErrors for DryRun backend
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 01f9863 - Browse repository at this point
Copy the full SHA 01f9863View commit details -
RusticErrors for LocalDestination
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 32b63f4 - Browse repository at this point
Copy the full SHA 32b63f4View commit details -
RusticErrors for Packer and Tree
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e9c408 - Browse repository at this point
Copy the full SHA 4e9c408View commit details -
RusticErrors for Cache backend
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for db82ed2 - Browse repository at this point
Copy the full SHA db82ed2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6461492 - Browse repository at this point
Copy the full SHA 6461492View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9ec6208 - Browse repository at this point
Copy the full SHA 9ec6208View commit details -
fix error related clippy lints
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1c672c2 - Browse repository at this point
Copy the full SHA 1c672c2View commit details -
Configuration menu - View commit details
-
Copy full SHA for db6ddef - Browse repository at this point
Copy the full SHA db6ddefView commit details -
Configuration menu - View commit details
-
Copy full SHA for 85c3c9b - Browse repository at this point
Copy the full SHA 85c3c9bView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for c45ede8 - Browse repository at this point
Copy the full SHA c45ede8View commit details -
Configuration menu - View commit details
-
Copy full SHA for f34fb99 - Browse repository at this point
Copy the full SHA f34fb99View commit details -
rename test cases for keys to make more clear their intent
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 686257f - Browse repository at this point
Copy the full SHA 686257fView commit details -
Add error code and overwrite guidance to password incorrect error
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cda7b71 - Browse repository at this point
Copy the full SHA cda7b71View commit details -
Fix tests for incorrect passwort and key files
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6c3ec5b - Browse repository at this point
Copy the full SHA 6c3ec5bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 5038925 - Browse repository at this point
Copy the full SHA 5038925View commit details -
Configuration menu - View commit details
-
Copy full SHA for e5c9aa1 - Browse repository at this point
Copy the full SHA e5c9aa1View commit details
Commits on Oct 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 4603d44 - Browse repository at this point
Copy the full SHA 4603d44View commit details -
Configuration menu - View commit details
-
Copy full SHA for 36e9908 - Browse repository at this point
Copy the full SHA 36e9908View commit details -
Configuration menu - View commit details
-
Copy full SHA for 234cea6 - Browse repository at this point
Copy the full SHA 234cea6View commit details -
remove unused errors from ignore
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for cd0989c - Browse repository at this point
Copy the full SHA cd0989cView commit details -
fix all
todo!("Error transition")
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1d7deaf - Browse repository at this point
Copy the full SHA 1d7deafView commit details -
Remove compression from error kind and replace with Internal variant
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for a480693 - Browse repository at this point
Copy the full SHA a480693View commit details -
remove long error types from function docs
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 56c45af - Browse repository at this point
Copy the full SHA 56c45afView commit details -
Configuration menu - View commit details
-
Copy full SHA for b31054c - Browse repository at this point
Copy the full SHA b31054cView commit details -
Configuration menu - View commit details
-
Copy full SHA for de1c6e4 - Browse repository at this point
Copy the full SHA de1c6e4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2548568 - Browse repository at this point
Copy the full SHA 2548568View commit details -
Configuration menu - View commit details
-
Copy full SHA for 10e5886 - Browse repository at this point
Copy the full SHA 10e5886View commit details -
add error handling rules to error module
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4e19c26 - Browse repository at this point
Copy the full SHA 4e19c26View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0ee05d - Browse repository at this point
Copy the full SHA a0ee05dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7f073d - Browse repository at this point
Copy the full SHA e7f073dView commit details -
Configuration menu - View commit details
-
Copy full SHA for abc5588 - Browse repository at this point
Copy the full SHA abc5588View commit details -
Configuration menu - View commit details
-
Copy full SHA for 80bbcec - Browse repository at this point
Copy the full SHA 80bbcecView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 18f2319 - Browse repository at this point
Copy the full SHA 18f2319View commit details -
add back description of errors in fn docs
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 6ed4adf - Browse repository at this point
Copy the full SHA 6ed4adfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51f6db5 - Browse repository at this point
Copy the full SHA 51f6db5View commit details -
warn about errors in listing size before throwing out the errors
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ce4aca7 - Browse repository at this point
Copy the full SHA ce4aca7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5abc923 - Browse repository at this point
Copy the full SHA 5abc923View commit details -
Attach error code to verification error
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 1a5a536 - Browse repository at this point
Copy the full SHA 1a5a536View commit details
Commits on Oct 28, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 3563664 - Browse repository at this point
Copy the full SHA 3563664View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6745db4 - Browse repository at this point
Copy the full SHA 6745db4View commit details -
Use SmolStr for
RusticError::new()
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 9d694b2 - Browse repository at this point
Copy the full SHA 9d694b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 5d90807 - Browse repository at this point
Copy the full SHA 5d90807View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6453049 - Browse repository at this point
Copy the full SHA 6453049View commit details -
change to unsupported error kind in dump
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for ff50753 - Browse repository at this point
Copy the full SHA ff50753View commit details -
change to invalid input error kind in forget
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 73baca4 - Browse repository at this point
Copy the full SHA 73baca4View commit details -
Configuration menu - View commit details
-
Copy full SHA for dd2c079 - Browse repository at this point
Copy the full SHA dd2c079View commit details -
attach context for pack_read_header
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for e34d827 - Browse repository at this point
Copy the full SHA e34d827View commit details -
attach context for pack_read_header
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 58720c8 - Browse repository at this point
Copy the full SHA 58720c8View commit details -
remove error variants for snapshot file
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 897a339 - Browse repository at this point
Copy the full SHA 897a339View commit details -
Configuration menu - View commit details
-
Copy full SHA for dcfa5ee - Browse repository at this point
Copy the full SHA dcfa5eeView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 21528b8 - Browse repository at this point
Copy the full SHA 21528b8View commit details -
Configuration menu - View commit details
-
Copy full SHA for fbf4c4f - Browse repository at this point
Copy the full SHA fbf4c4fView commit details -
cleanup variants in KeyFileErrorKind
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2b8caa4 - Browse repository at this point
Copy the full SHA 2b8caa4View commit details -
cleanup variants in PackerErrorKind
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 80c1ade - Browse repository at this point
Copy the full SHA 80c1adeView commit details -
cleanup variants in LocalDestinationErrorKind
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 858eb2e - Browse repository at this point
Copy the full SHA 858eb2eView commit details -
cleanup variants in TreeErrorKind
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 2bfa13c - Browse repository at this point
Copy the full SHA 2bfa13cView commit details -
cleanup variants in PackFileErrorKind
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d0acebf - Browse repository at this point
Copy the full SHA d0acebfView commit details -
Configuration menu - View commit details
-
Copy full SHA for 8d99678 - Browse repository at this point
Copy the full SHA 8d99678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 9eaa796 - Browse repository at this point
Copy the full SHA 9eaa796View commit details -
Configuration menu - View commit details
-
Copy full SHA for edb0a97 - Browse repository at this point
Copy the full SHA edb0a97View commit details -
cleanup ErrorKind, remove parsing, and spread errors into InvalidInpu…
…t, MissingInput, Internal, and Unsupported Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for caae6bb - Browse repository at this point
Copy the full SHA caae6bbView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 354f7b2 - Browse repository at this point
Copy the full SHA 354f7b2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 389b15e - Browse repository at this point
Copy the full SHA 389b15eView commit details -
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 23db926 - Browse repository at this point
Copy the full SHA 23db926View commit details -
update snapshot file for error display test
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 4f44079 - Browse repository at this point
Copy the full SHA 4f44079View commit details
Commits on Oct 29, 2024
-
log errors before throwing them away
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b484c37 - Browse repository at this point
Copy the full SHA b484c37View commit details -
adapt visibility to make
rustic-rs
buildSigned-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for f4babc3 - Browse repository at this point
Copy the full SHA f4babc3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a7c8360 - Browse repository at this point
Copy the full SHA a7c8360View commit details
Commits on Oct 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for b6a8386 - Browse repository at this point
Copy the full SHA b6a8386View commit details -
Configuration menu - View commit details
-
Copy full SHA for c8ed8df - Browse repository at this point
Copy the full SHA c8ed8dfView commit details -
don't unwrap in error description
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for d6d42f3 - Browse repository at this point
Copy the full SHA d6d42f3View commit details -
reorder error to be aligned with display impl
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for be71df2 - Browse repository at this point
Copy the full SHA be71df2View commit details -
DRY constructors for RusticError
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for b8bd50d - Browse repository at this point
Copy the full SHA b8bd50dView commit details -
Configuration menu - View commit details
-
Copy full SHA for e508412 - Browse repository at this point
Copy the full SHA e508412View commit details -
allow clippy lint for too many lines (103/100)
Signed-off-by: simonsan <[email protected]>
Configuration menu - View commit details
-
Copy full SHA for 63e496b - Browse repository at this point
Copy the full SHA 63e496bView commit details