fix: libpaket: improve decode-error string

This commit is contained in:
jane400 2024-10-02 17:46:30 +02:00 committed by jane400
parent c1e91ff1bb
commit c99956583b

View file

@ -41,7 +41,7 @@ pub enum LibraryError {
Unauthorized, Unauthorized,
#[error("invalid argument: {0}")] #[error("invalid argument: {0}")]
InvalidArgument(String), InvalidArgument(String),
#[error("internal error, unable to decode: {0}")] #[error("unable to decode: {0}")]
DecodeError(String), DecodeError(String),
#[error("upstream api was changed. not continuing")] #[error("upstream api was changed. not continuing")]
APIChange, APIChange,