-
Notifications
You must be signed in to change notification settings - Fork 3
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
Replace anyhow with thiserror #115
base: master
Are you sure you want to change the base?
Commits on Dec 4, 2022
-
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for 54b59c2 - Browse repository at this point
Copy the full SHA 54b59c2View commit details -
Make IndexOutOfBounds error kind more expressive
By adding a "available" length field that can be shown in the error display. For this, the ZstdDagCborSeq::len() function was added. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for dedc980 - Browse repository at this point
Copy the full SHA dedc980View commit details -
Make Error::Invalid more expressive
The error variant is not nice yet, but better than before. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for 1b4e521 - Browse repository at this point
Copy the full SHA 1b4e521View commit details -
This patch simplifies the boolean expressions. Before this patch, the expressions were ported from the `anyhow::ensure!()` macro by replacing it with `if !(...)`, which was simple and a no-brainer to replace. With this patch, we simplify the expression to not contain unnecessary `!` in there. Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for 425eae6 - Browse repository at this point
Copy the full SHA 425eae6View commit details -
Replace
Busy
variant withMultipleStrongRef
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for 54f589c - Browse repository at this point
Copy the full SHA 54f589cView commit details -
Replace
Full
withMaxSizeExceeded
error variantSigned-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for b1f92e0 - Browse repository at this point
Copy the full SHA b1f92e0View commit details -
Rename: FoundPurgedData -> PurgedDataFound
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for adf47d6 - Browse repository at this point
Copy the full SHA adf47d6View commit details -
Make error text more expressive
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for d2145e6 - Browse repository at this point
Copy the full SHA d2145e6View commit details -
Fix clippy: Do not pass ref here
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for 30ed94f - Browse repository at this point
Copy the full SHA 30ed94fView commit details -
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for b48c6f5 - Browse repository at this point
Copy the full SHA b48c6f5View commit details -
Fix: Make comparison fit error message
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for 293e515 - Browse repository at this point
Copy the full SHA 293e515View commit details -
Signed-off-by: Matthias Beyer <mail@beyermatthias.de>
Configuration menu - View commit details
-
Copy full SHA for de35a90 - Browse repository at this point
Copy the full SHA de35a90View commit details
Commits on Dec 22, 2022
-
WIP: Rewrite banyan-utils to replace anyhow with thiserror
This patch rewrites banyan-utils to use thiserror and the new (thiserror-based) banyan API instead of anyhow.
Configuration menu - View commit details
-
Copy full SHA for dde0b3a - Browse repository at this point
Copy the full SHA dde0b3aView commit details