From 695556c3441f5ffd40c35387a5b45e4459684c2c Mon Sep 17 00:00:00 2001 From: fxqnlr Date: Fri, 6 Sep 2024 17:12:52 +0200 Subject: add get specific or last backup --- src/error.rs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/error.rs') diff --git a/src/error.rs b/src/error.rs index dc132f4..6afa3d0 100644 --- a/src/error.rs +++ b/src/error.rs @@ -20,6 +20,9 @@ pub enum Error { #[error("OsString couldn't be converted to string")] InvalidOsString, + #[error("Requested backup not found")] + BackupNotFound, + #[error("json: {source}")] SerdeJson { #[from] -- cgit v1.2.3