From 94fd314f1ae8a556e6e824b1331eb7f131381dba Mon Sep 17 00:00:00 2001 From: jane400 Date: Wed, 2 Oct 2024 17:46:30 +0200 Subject: [PATCH] fix: libpaket: improve decode-error string --- libpaket/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libpaket/src/lib.rs b/libpaket/src/lib.rs index 9455fd4..9cc7b34 100644 --- a/libpaket/src/lib.rs +++ b/libpaket/src/lib.rs @@ -41,7 +41,7 @@ pub enum LibraryError { Unauthorized, #[error("invalid argument: {0}")] InvalidArgument(String), - #[error("internal error, unable to decode: {0}")] + #[error("unable to decode: {0}")] DecodeError(String), #[error("upstream api was changed. not continuing")] APIChange,